Skip to content

feat: add general access enum to consts #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 8, 2025

Conversation

tobice
Copy link
Contributor

@tobice tobice commented Apr 7, 2025

We plan to allow users to configure through API & clients how their storages and runs can be accessed — whether just the ID / name is sufficient to access the storage. Full context in https://github.com/apify/apify-core/issues/19012.

This PR adds appropriate enums that will be used both externally (in clients & API), and internally (where it will replace the existing enum).

Note that there are separate enums for runs and storages as only storages support access by name. So far we have been using a shared enum for both, but it's cleaner to have them separated — in run related logic & documentation we won't have to account (much) for the unsupported value.

@tobice tobice requested review from B4nan, fnesveda and danpoletaev April 7, 2025 08:23
@tobice tobice self-assigned this Apr 7, 2025
@github-actions github-actions bot added this to the 112th sprint - Platform team milestone Apr 7, 2025
@github-actions github-actions bot added the t-platform Issues with this label are in the ownership of the platform team. label Apr 7, 2025
@B4nan
Copy link
Member

B4nan commented Apr 8, 2025

@tobice I've merged the latest changes from master which are updating eslint config, there is one small issue to be fixed here.

tobice added a commit to apify/apify-shared-python that referenced this pull request Apr 8, 2025
@tobice tobice merged commit 71fd1a5 into master Apr 8, 2025
9 checks passed
@tobice tobice deleted the tobik/feat/add-general-access-enum branch April 8, 2025 14:39
@fnesveda fnesveda added the validated Issues that are resolved and their solutions fulfill the acceptance criteria. label Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-platform Issues with this label are in the ownership of the platform team. validated Issues that are resolved and their solutions fulfill the acceptance criteria.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants