mxm-types 0.3.0__tar.gz → 0.3.1__tar.gz
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.
- {mxm_types-0.3.0 → mxm_types-0.3.1}/PKG-INFO +1 -1
- {mxm_types-0.3.0 → mxm_types-0.3.1}/pyproject.toml +1 -1
- {mxm_types-0.3.0 → mxm_types-0.3.1}/src/mxm/types/__init__.py +0 -10
- mxm_types-0.3.1/src/mxm/types/runtime_identity.py +10 -0
- mxm_types-0.3.0/src/mxm/types/runtime_identity.py +0 -17
- {mxm_types-0.3.0 → mxm_types-0.3.1}/LICENSE +0 -0
- {mxm_types-0.3.0 → mxm_types-0.3.1}/README.md +0 -0
- {mxm_types-0.3.0 → mxm_types-0.3.1}/src/mxm/types/general.py +0 -0
- {mxm_types-0.3.0 → mxm_types-0.3.1}/src/mxm/types/pandas_timestamps.py +0 -0
- {mxm_types-0.3.0 → mxm_types-0.3.1}/src/mxm/types/py.typed +0 -0
- {mxm_types-0.3.0 → mxm_types-0.3.1}/src/mxm/types/timestamps.py +0 -0
|
@@ -20,12 +20,7 @@ management, and runtime construction belong elsewhere.
|
|
|
20
20
|
from __future__ import annotations
|
|
21
21
|
|
|
22
22
|
from mxm.types.runtime_identity import (
|
|
23
|
-
AppId,
|
|
24
|
-
Environment,
|
|
25
|
-
MachineId,
|
|
26
23
|
RuntimeIdentity,
|
|
27
|
-
RuntimeRole,
|
|
28
|
-
RuntimeSubstrate,
|
|
29
24
|
)
|
|
30
25
|
|
|
31
26
|
from .general import (
|
|
@@ -77,9 +72,7 @@ __all__ = [
|
|
|
77
72
|
"INT64_DTYPE",
|
|
78
73
|
"NAT_TS_NS",
|
|
79
74
|
"TS_NS_DTYPE",
|
|
80
|
-
"AppId",
|
|
81
75
|
"CLIFormatOptions",
|
|
82
|
-
"Environment",
|
|
83
76
|
"HeadersLike",
|
|
84
77
|
"Int64Array",
|
|
85
78
|
"JSONLike",
|
|
@@ -88,10 +81,7 @@ __all__ = [
|
|
|
88
81
|
"JSONScalar",
|
|
89
82
|
"JSONValue",
|
|
90
83
|
"KVReadable",
|
|
91
|
-
"MachineId",
|
|
92
84
|
"RuntimeIdentity",
|
|
93
|
-
"RuntimeRole",
|
|
94
|
-
"RuntimeSubstrate",
|
|
95
85
|
"StrPath",
|
|
96
86
|
"TSNSArray",
|
|
97
87
|
"TSNSScalar",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
from dataclasses import dataclass
|
|
2
|
-
from typing import NewType
|
|
3
|
-
|
|
4
|
-
AppId = NewType("AppId", str)
|
|
5
|
-
Environment = NewType("Environment", str)
|
|
6
|
-
MachineId = NewType("MachineId", str)
|
|
7
|
-
RuntimeSubstrate = NewType("RuntimeSubstrate", str)
|
|
8
|
-
RuntimeRole = NewType("RuntimeRole", str)
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
@dataclass(frozen=True, slots=True)
|
|
12
|
-
class RuntimeIdentity:
|
|
13
|
-
app: AppId
|
|
14
|
-
environment: Environment
|
|
15
|
-
machine: MachineId
|
|
16
|
-
substrate: RuntimeSubstrate
|
|
17
|
-
role: RuntimeRole
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|