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
{{ message }}
Repository navigation
object_client parameter missing for datasets.open? #151
Is there a reason this does not have a object_client parameter like the others?
Not particularly, no. open is a convenience function built on the others and I think we just didn't anticipate people using it in the advanced case described below.
How else do you recommend using this outside of the Platform?
The main reason for the object_client parameter is so that these methods can pass around a single client and avoid reconstructing it many times. People are mainly expected to use the profile mechanism and environment variables as the way to configure which deployment to interact with datasets, though this is mostly for historical reasons.
Activity
acroz commentedon Jan 6, 2020
Not particularly, no.
openis a convenience function built on the others and I think we just didn't anticipate people using it in the advanced case described below.The main reason for the
object_clientparameter is so that these methods can pass around a single client and avoid reconstructing it many times. People are mainly expected to use the profile mechanism and environment variables as the way to configure which deployment to interact with datasets, though this is mostly for historical reasons.