Refactor/Chore: Remove access parameters in client #290
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR removes the
AccessType
type, simplifying the API by eliminating theaccess
parameter, which was previously used to specify public or private access when uploading artifacts to the Polaris Hub.Removal of
AccessType
andaccess
parameter:Type and Imports Cleanup:
AccessType
from imports in multiple files, includingpolaris/benchmark/_base.py
,polaris/dataset/_base.py
,polaris/dataset/_dataset.py
,polaris/dataset/_dataset_v2.py
,polaris/evaluate/_results.py
,polaris/hub/client.py
, andpolaris/model/__init__.py
.Parameter Removal in Method Definitions:
access
parameter from method signatures such asupload_to_hub
in various modules (polaris/benchmark/_base.py
,polaris/dataset/_base.py
,polaris/dataset/_dataset.py
,polaris/dataset/_dataset_v2.py
,polaris/evaluate/_results.py
,polaris/hub/client.py
, andpolaris/model/__init__.py
).Documentation Updates:
access
parameter, ensuring the documentation aligns with the updated API.Notion Package: https://www.notion.so/Private-Artifact-Removal-1ec0c0d8de7080cf9b6fdde6b7fc0dd8