Skip to content

Commit cf1ce01

Browse files
committed
uv lock upgrade
1 parent 1b00eef commit cf1ce01

3 files changed

Lines changed: 614 additions & 593 deletions

File tree

‎src/apify/_actor.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
from typing import Self
4646

4747
from apify_client._models import Run
48-
from apify_shared.consts import ActorPermissionLevel
4948
from crawlee._types import JsonSerializable
5049
from crawlee.proxy_configuration import _NewUrlFunction
5150

51+
from apify._consts import ActorPermissionLevel
5252
from apify._models import Webhook
5353

5454
MainReturnType = TypeVar('MainReturnType')

‎src/apify/_consts.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
import re
44
from datetime import timedelta
55
from enum import Enum, StrEnum
6+
from typing import Literal
7+
8+
ActorPermissionLevel = Literal['LIMITED_PERMISSIONS', 'FULL_PERMISSIONS']
9+
"""Determines permissions that the Actor requires to run. See the Apify Actor permissions documentation."""
610

711
EVENT_LISTENERS_TIMEOUT = timedelta(seconds=5)
812
"""Timeout for waiting on event listeners to finish during Actor exit."""

0 commit comments

Comments
 (0)