Skip to content

Safe to access to a protected member _service_class of falconpy? [YES/SAFE] #553

Answered by jshcodes
morcef asked this question in Q&A
Discussion options

You must be logged in to vote

This looks a lot like the experiments I've been playing with in the Caracara alpha source. With my goal being very similar... abstract things like error handling, rate limiting and individual endpoint query maximums. (Along with other cool conjoined functionality leveraging multiple endpoints.)

Answering your questions in order:

  1. ServiceClass was defined as a private only because it was being used as a base class for all Service Classes. My thinking at the time being, "this is an internal base class that we'll use to define all subsequent public classes." (with the (probably wrong) assumption being you'd inherit from the public service class based upon API need.)
  2. The ServiceClass base cla…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@morcef
Comment options

@jshcodes
Comment options

@jshcodes
Comment options

@jshcodes
Comment options

@morcef
Comment options

Answer selected by morcef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
SDK usage General SDK usage issues and questions
2 participants