forked from HumanSignal/label-studio
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ext] On annotation deletion alse delete from export storage (HumanSi…
- Loading branch information
1 parent
df79244
commit 4e702f0
Showing
3 changed files
with
48 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
logging.basicConfig(level=logging.DEBUG, format='%(message)s') | ||
|
||
from label_studio.core.utils.io import get_data_dir | ||
from label_studio.core.utils.params import get_bool_env, get_env | ||
from label_studio.core.utils.params import get_bool_env, get_env, get_env_list_int | ||
|
||
logger = logging.getLogger(__name__) | ||
|
||
|
@@ -368,6 +368,8 @@ | |
TASK_LOCK_DEFAULT_TTL = int(get_env('TASK_LOCK_DEFAULT_TTL', 3600)) | ||
TASK_LOCK_MIN_TTL = int(get_env('TASK_LOCK_MIN_TTL', 120)) | ||
|
||
DELETION_FROM_S3_ENABLED_FOR_ORGS = get_env_list_int('DELETION_FROM_S3_ENABLED_FOR_ORGS', []) | ||
|
||
# Email backend | ||
FROM_EMAIL = get_env('FROM_EMAIL', 'Label Studio <[email protected]>') | ||
EMAIL_BACKEND = get_env('EMAIL_BACKEND', 'django.core.mail.backends.dummy.EmailBackend') | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters