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
* Upgrade to use class object instead of json
-> Before we were using the json which introduced some potential confusion
now it uses the directory object
-> Move functions inside class
-> Move default setting inside here... the API returning default in that way still not best but working in existing pattern
* Seperate concerns and improve startup
-> move default dir and label setting to optional
and more cleanly define at init instead of inside auth
-> use new directory class
-> use new get_directory_list()
-> get dir now checks if none
-> Added print statements for now since still so much changing but those can be optional log statements in future of course
* Align with schema direction
only schema is needed not directory id
(changing API side too)
* Align with new pattern
* opencv should be optional
only needed in some cases, heavy requirement to put here
* Fix init bug - this was preventing to_tensorflow() from working
init_file_ids asumes the id was already set
but for now refresh_from_dict pattern means the id is set after init
so refactor `init_files()` and call it after...
We will need to work on this more
Luckily at least now it's refactored to `convert_json_to_sdk_object()` so we have it only in one place
* fix: dir initialization
Co-authored-by: Pablo <pjestradac@gmail.com>
0 commit comments