Skip to content
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

feat: Add a 'JobBundlePurpose' type. #94

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/deadline/client/ui/dialogs/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

from ._types import (
JobBundlePurpose, # noqa: F401
)

__all__ = ["DeadlineConfigDialog", "DeadlineLoginDialog"]

from .deadline_config_dialog import DeadlineConfigDialog
Expand Down
13 changes: 13 additions & 0 deletions src/deadline/client/ui/dialogs/_types.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

from enum import Enum

# ---- Types to export


class JobBundlePurpose(str, Enum):
EXPORT = "export"
"""A job bundle is being created for export."""

SUBMISSION = "submission"
"""A job bundle is being created for immediate submission."""