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
This works when I have huggingface defined in the credentials.yml. I would like an option to make this optional and return None when that doesn't exist. Right now code fails if huggingface is not defined. I tried to play with oc.select but refers to existing keys and I think runs before the injection of credentials.
Context
Possible Implementation
Possible Alternatives
The text was updated successfully, but these errors were encountered:
I don't like mocking stuff but this function wasn't part of the catalog class so extending catalog class and overriding it wasn't possible or too much code was required.
Description
I would to refer this block in my catalog:
This works when I have huggingface defined in the credentials.yml. I would like an option to make this optional and return None when that doesn't exist. Right now code fails if huggingface is not defined. I tried to play with
oc.select
but refers to existing keys and I think runs before the injection of credentials.Context
Possible Implementation
Possible Alternatives
The text was updated successfully, but these errors were encountered: