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
Implements three improvements requested in code review:
1. Add UUID suffix to Space names for uniqueness (@stefannica)
- Added first 8 chars of deployment UUID as suffix: {prefix}-{name}-{uuid}
- Updated docstring to mention UUID suffix for uniqueness
- Follows same pattern as GCP and AWS deployers
- Ensures Space names are unique at the project level
2. Add documentation link for secret syntax (@strickvl)
- Added link to ZenML secret reference syntax documentation
- Links to: https://docs.zenml.io/how-to/project-setup-and-management/interact-with-secrets
- Helps users understand how to use {{secret.key}} syntax
3. Replace deprecated update_repo_visibility API (@strickvl)
- Changed from update_repo_visibility to update_repo_settings
- update_repo_visibility was removed in huggingface_hub v1.0.0.rc7
- New API: api.update_repo_settings(repo_id, private, repo_type)
- Maintains same functionality with updated API
All changes maintain backward compatibility and improve code quality.
Copy file name to clipboardExpand all lines: docs/book/component-guide/deployers/huggingface.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ You need a Hugging Face access token with write permissions to deploy pipelines.
51
51
You have two options to provide credentials to the Hugging Face deployer:
52
52
53
53
* Pass the token directly when registering the deployer using the `--token` parameter
54
-
* (recommended) Store the token in a ZenML secret and reference it using secret syntax
54
+
* (recommended) Store the token in a ZenML secret and reference it using [secret reference syntax](https://docs.zenml.io/how-to/project-setup-and-management/interact-with-secrets)
0 commit comments