You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but when the number of endpoints gets high this file will grow to be difficult to deal with.
Proposed
I would propose that in the directory there could be a file computer_v1 which contains (among others) the function get_inventory then the call would be:
My second thought would be to make ProApi a derived class and make a base class for each of the endpoints in its own file. Then the calling style would stay the same.
Current
The current behaviour is to put all the functions for all the pro endpoints into the
__init__.py
file. I realise this allows calls likebut when the number of endpoints gets high this file will grow to be difficult to deal with.
Proposed
I would propose that in the directory there could be a file
computer_v1
which contains (among others) the functionget_inventory
then the call would be:System Information
SDK version 4.0a
The text was updated successfully, but these errors were encountered: