Skip to content

Commit

Permalink
fix: add WindowsSessionUser dataclass to package exports
Browse files Browse the repository at this point in the history
Signed-off-by: Yutong Li <[email protected]>
  • Loading branch information
YutongLi291 committed Oct 28, 2024
1 parent 84592ad commit 5b6f6c8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions src/deadline_test_fixtures/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
JobAttachmentSettings,
JobRunAsUser,
PosixSessionUser,
WindowsSessionUser,
S3Object,
ServiceModel,
OperatingSystem,
Expand Down Expand Up @@ -81,6 +82,7 @@
"TaskStatus",
"WindowsInstanceBuildWorker",
"WindowsInstanceWorkerBase",
"WindowsSessionUser",
"bootstrap_resources",
"codeartifact",
"deadline_client",
Expand Down
4 changes: 2 additions & 2 deletions src/deadline_test_fixtures/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ class WindowsSessionUser:

@dataclass(frozen=True)
class JobRunAsUser:
posix: PosixSessionUser
windows: WindowsSessionUser
posix: PosixSessionUser | None
windows: WindowsSessionUser | None
runAs: Literal["QUEUE_CONFIGURED_USER", "WORKER_AGENT_USER"]


Expand Down

0 comments on commit 5b6f6c8

Please sign in to comment.