Giter VIP home page Giter VIP logo

nre-darwin-py's Introduction

Hi I'm Rob

  • ๐Ÿ”ญ Iโ€™m currently working for CloudBees on the Engineering Operations team
  • ๐ŸŒฑ Iโ€™m currently learning Kubernetes, FinOps
  • ๐Ÿค” Iโ€™m always looking for help with being a better leader, and ways to help my team
  • ๐Ÿ’ฌ Ask me about Python, AWS, Streaming video, the "Internet of Things"
  • ๐Ÿ˜„ Pronouns: he/him

nre-darwin-py's People

Contributors

grundleborg avatar robert-b-clarke avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

nre-darwin-py's Issues

Objects aren't serialisable to JSON

Trying to convert some of the object to JSON throws the exception:

TypeError: Object of type ServiceItem is not JSON serializable

It would be nice to make these serialisable so that this library can be easily used to power JSON-based APIs.

Invalid CRS code, catching exception but object still printed

Apologies if this is my knowledge lacking but I'm hitting a brick wall.

I am trying to catch when an invalid station code is used to display a friendly error. Regardless, <suds.sax.document.Document object at 0x7fb5e4d47978> is still printed though.

Example:

try:
    board = darwin_session.get_station_board('XYZ')
except:
    print("Something went wrong with the request")

Result:

<suds.sax.document.Document object at 0x7f3d3a14fdd8>
Something went wrong with the request

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.