mainsequence 9.0.12.dev52__py3-none-any.whl → 9.0.13.dev53__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -983,8 +983,10 @@ class User(_CallerDirectoryReadMixin, UserApiBaseObjectOrm, BasePydanticModel):
983
983
  ``User.filter(identity_type="workload")``. Its row carries ``uid``,
984
984
  ``identity_type`` (``"workload"``), ``is_active`` and the UID of its
985
985
  workload in ``job_uid``, ``resource_release_uid`` or ``agent_uid``, without
986
- a username, email, join date or name. Fields the row does not carry are
987
- ``None``, or empty for lists.
986
+ a username, email, join date or person's name. A listed row of a workload
987
+ the caller can view also carries ``workload_name``, the name of that Job,
988
+ release or Agent; a lookup by UID does not. Fields the row does not carry
989
+ are ``None``, or empty for lists.
988
990
 
989
991
  The reverse direction is ``workload_user_uid`` on ``Job``,
990
992
  ``ResourceRelease`` and ``Agent``: the UID of the User that workload runs
@@ -1059,6 +1061,16 @@ class User(_CallerDirectoryReadMixin, UserApiBaseObjectOrm, BasePydanticModel):
1059
1061
  description="UID of the Agent a workload identity belongs to; None otherwise.",
1060
1062
  examples=[None],
1061
1063
  )
1064
+ workload_name: str | None = Field(
1065
+ None,
1066
+ title="Workload Name",
1067
+ description=(
1068
+ "Name of the Job, release or Agent a workload identity belongs to, on a "
1069
+ "listed row of a workload the caller can view. None otherwise, including "
1070
+ "on a lookup by UID and on a person."
1071
+ ),
1072
+ examples=["nightly-prices"],
1073
+ )
1062
1074
  managed_by_caller: bool | None = Field(
1063
1075
  None,
1064
1076
  title="Managed By Caller",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mainsequence
3
- Version: 9.0.12.dev52
3
+ Version: 9.0.13.dev53
4
4
  Summary: Main Sequence SDK
5
5
  Author-email: Main Sequence GmbH <dev@main-sequence.io>
6
6
  License-Expression: MIT
@@ -45,7 +45,7 @@ mainsequence/client/github_issues.py,sha256=pSTUw3UPrmE6wqnpoJctartTaNSq6iu6PQRr
45
45
  mainsequence/client/inference.py,sha256=tYKHRxLR6mA5iLmgd3qURwweWc2OPQuw0__tD3LQgSI,7748
46
46
  mainsequence/client/models_foundry.py,sha256=JwQdPLDSO4dZI-KC0SUdmN6izmNIKMb9IzZlYXy0Mig,36488
47
47
  mainsequence/client/models_helpers.py,sha256=nlbHuQAylTOHAZOq4ltJQp6QvC3NW_kw7tZFosGc5rM,47311
48
- mainsequence/client/models_user.py,sha256=YFEClKcKZpWLCy8Gmg8tZXIHmJbkdQHkeOBJXmp0HG0,42169
48
+ mainsequence/client/models_user.py,sha256=4BMyGdSqcQnZ_71PeEvMG_37DdsDf44l97QfshcgGa4,42714
49
49
  mainsequence/client/observability.py,sha256=_WrDKCaNk_TXmKElKCXC1inork6Exxxe8FRY4m1GI9s,16008
50
50
  mainsequence/client/utils.py,sha256=C0h0U-fOBZw3UxIwHcBTLf8CDClAOatf_oRgjvqFth4,31637
51
51
  mainsequence/client/value_sets.py,sha256=7TA-mpuAd3hOduNgO1WTQQTuNOGaFgue-VqCsDWKaC8,6181
@@ -54,9 +54,9 @@ mainsequence/instrumentation/utils.py,sha256=b-ihjSioAepeLfMpudM2SqCtvnxMqIXileH
54
54
  mainsequence/server/__init__.py,sha256=BHUAhtdWPDRdxX07NYO_6wrBv5mf0GsXflecO52PmUc,73
55
55
  mainsequence/server/caller_assertions.py,sha256=Me8of2Ku8in-97LWU2oY-0oD1OW6zF-xOVVpEQ0eoe4,11010
56
56
  mainsequence/server/fastapi.py,sha256=zclo7ARHKUKSTmOc0KdxUSwfsxlx6SJuaiAe-19nzWg,11465
57
- mainsequence-9.0.12.dev52.dist-info/licenses/LICENSE,sha256=b6Ecsk8wjsEby3lbSzdljR6hHiFGHBizt9iWV2p1c_I,1074
58
- mainsequence-9.0.12.dev52.dist-info/METADATA,sha256=Kiug7ju2MO3i41EzM2Dt3iCuqNKI3WSgISbnIv4YSkk,7403
59
- mainsequence-9.0.12.dev52.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
60
- mainsequence-9.0.12.dev52.dist-info/entry_points.txt,sha256=XGAOq3-mF2lWWpeRJvoaWyMarRcK167mH1g124aGdUs,88
61
- mainsequence-9.0.12.dev52.dist-info/top_level.txt,sha256=BFeblM_Q9q0cUWBvTxnfWcWQEHtf5XZi9nOS-Gdfwus,28
62
- mainsequence-9.0.12.dev52.dist-info/RECORD,,
57
+ mainsequence-9.0.13.dev53.dist-info/licenses/LICENSE,sha256=b6Ecsk8wjsEby3lbSzdljR6hHiFGHBizt9iWV2p1c_I,1074
58
+ mainsequence-9.0.13.dev53.dist-info/METADATA,sha256=B4YznQ9xvV-IVY1raqysqBNfoYLroxZtIYPt_vSlhOU,7403
59
+ mainsequence-9.0.13.dev53.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
60
+ mainsequence-9.0.13.dev53.dist-info/entry_points.txt,sha256=XGAOq3-mF2lWWpeRJvoaWyMarRcK167mH1g124aGdUs,88
61
+ mainsequence-9.0.13.dev53.dist-info/top_level.txt,sha256=BFeblM_Q9q0cUWBvTxnfWcWQEHtf5XZi9nOS-Gdfwus,28
62
+ mainsequence-9.0.13.dev53.dist-info/RECORD,,