Skip to content

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, danpoletaev and fnesveda 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-core-services Issues with this label are in the ownership of the core services 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-core-services Issues with this label are in the ownership of the core services 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