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
Methods and attributes for communicating with Beagle can be moved out of the main beaglecli file into a separate client module, so that they could be imported from other Python programs and services in order to communicate with Beagle. This would be really useful for things like the Config for handling the auth tokens, the API endpoint addresses, and the functions that run the basic Get, Create, Update, Delete methods for different endpoints. Also consider some Django-inspired wrappers such as get_or_create and update_or_create to make it easier to use, along with things like validation of the existence of Files, etc., in Beagle before trying to run operations on them.
The text was updated successfully, but these errors were encountered:
Methods and attributes for communicating with Beagle can be moved out of the main
beaglecli
file into a separate client module, so that they could be imported from other Python programs and services in order to communicate with Beagle. This would be really useful for things like theConfig
for handling the auth tokens, the API endpoint addresses, and the functions that run the basic Get, Create, Update, Delete methods for different endpoints. Also consider some Django-inspired wrappers such asget_or_create
andupdate_or_create
to make it easier to use, along with things like validation of the existence of Files, etc., in Beagle before trying to run operations on them.The text was updated successfully, but these errors were encountered: