hydra-python 0.17.0__tar.gz → 0.17.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.
- {hydra_python-0.17.0 → hydra_python-0.17.1}/.gitignore +22 -10
- {hydra_python-0.17.0 → hydra_python-0.17.1}/PKG-INFO +3 -3
- {hydra_python-0.17.0 → hydra_python-0.17.1}/README.md +1 -1
- hydra_python-0.17.1/build/main/digest.json +55 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/pyproject.toml +2 -2
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/dsl/python/environment.py +12 -0
- hydra_python-0.17.1/src/main/python/hydra/dsl/python/names.py +157 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/dsl/python/syntax.py +591 -0
- hydra_python-0.17.1/src/main/python/hydra/dsl/python/utils.py +507 -0
- hydra_python-0.17.1/src/main/python/hydra/python/pyproject.py +33 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/LICENSE +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/NOTICE +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/coder.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/environment.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/language.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/names.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/serde.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/syntax.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/testing.py +0 -0
- {hydra_python-0.17.0 → hydra_python-0.17.1}/src/main/python/hydra/python/utils.py +0 -0
|
@@ -21,10 +21,14 @@ dist-newstyle/
|
|
|
21
21
|
stack.yaml.lock
|
|
22
22
|
*.cabal
|
|
23
23
|
|
|
24
|
-
# Java / Gradle
|
|
24
|
+
# Java / Gradle. Path-anchored (not a bare "build") so this can never swallow
|
|
25
|
+
# a module-namespace directory literally named "build" (e.g. the
|
|
26
|
+
# hydra.build.* family under dist/json/, #416) -- it only matches the
|
|
27
|
+
# specific Gradle output roots below.
|
|
25
28
|
.gradle
|
|
26
29
|
gradle.properties
|
|
27
|
-
build
|
|
30
|
+
/packages/hydra-java/build/
|
|
31
|
+
/heads/java/json-driver/build/
|
|
28
32
|
|
|
29
33
|
# IDEs
|
|
30
34
|
.bsp/
|
|
@@ -77,18 +81,23 @@ docs/work/
|
|
|
77
81
|
# Exception within the tracked dist/haskell/ tree (#418): the hand-written
|
|
78
82
|
# distribution-package content that sync-haskell.sh OVERLAYS from its canonical
|
|
79
83
|
# home under the top-level overlay/haskell/ tree is NOT committed — it would
|
|
80
|
-
# duplicate the canonical source
|
|
81
|
-
#
|
|
84
|
+
# duplicate the canonical source. (Removing dist/haskell/ from SCM entirely is
|
|
85
|
+
# deferred; see #376.) The canonical copies under overlay/haskell/ ARE tracked.
|
|
82
86
|
# - hydra umbrella package (entirely copied)
|
|
83
87
|
dist/haskell/hydra/
|
|
84
|
-
# - hydra-kernel hand-written runtime (copied from
|
|
88
|
+
# - hydra-kernel hand-written runtime (copied from overlay/haskell/hydra-kernel/;
|
|
89
|
+
# relocated to the Hydra.Overlay.Haskell.* namespace in #501)
|
|
85
90
|
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Settings.hs
|
|
86
91
|
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Kernel.hs
|
|
87
|
-
dist/haskell/hydra-kernel/src/main/haskell/Hydra/
|
|
88
|
-
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Dsl/Literals.hs
|
|
89
|
-
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Dsl/Meta/Common.hs
|
|
92
|
+
dist/haskell/hydra-kernel/src/main/haskell/Hydra/Overlay/
|
|
90
93
|
# - hydra-kernel hand-written test bridge (overlaid from overlay/haskell/.../src/test/)
|
|
91
94
|
dist/haskell/hydra-kernel/src/test/haskell/Hydra/Test/TestEnv.hs
|
|
95
|
+
dist/haskell/hydra-kernel/src/test/haskell/Hydra/Test/DefaultImplGraph.hs
|
|
96
|
+
# - hydra-pg / hydra-typescript hand-written DSL helpers (overlaid from
|
|
97
|
+
# overlay/haskell/hydra-{pg,typescript}/; relocated to the
|
|
98
|
+
# Hydra.Overlay.Haskell.* namespace in #501/#556)
|
|
99
|
+
dist/haskell/hydra-pg/src/main/haskell/Hydra/Overlay/
|
|
100
|
+
dist/haskell/hydra-typescript/src/main/haskell/Hydra/Overlay/
|
|
92
101
|
|
|
93
102
|
dist/clojure/
|
|
94
103
|
dist/common-lisp/
|
|
@@ -116,8 +125,11 @@ dist/haskell/*/.test-input-hash.txt
|
|
|
116
125
|
# file is a cache miss, never a correctness problem. Tracking digests
|
|
117
126
|
# previously caused merge conflicts on every cross-branch merge because
|
|
118
127
|
# the hashes always diverged. See #379. The matching root-level cache
|
|
119
|
-
# directory is dist/json/build/ (universe digest).
|
|
120
|
-
dist/**/build/
|
|
128
|
+
# directory is dist/json/build/ (universe digest). Depth-anchored
|
|
129
|
+
# (rather than dist/**/build/) so it can never swallow a module-namespace
|
|
130
|
+
# directory literally named "build" (e.g. the hydra.build.* family, #416).
|
|
131
|
+
dist/json/build/
|
|
132
|
+
dist/*/*/build/
|
|
121
133
|
|
|
122
134
|
# Other
|
|
123
135
|
*.log
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: hydra-python
|
|
3
|
-
Version: 0.17.
|
|
3
|
+
Version: 0.17.1
|
|
4
4
|
Summary: Python support for Hydra
|
|
5
5
|
Project-URL: Homepage, https://github.com/CategoricalData/hydra
|
|
6
6
|
Project-URL: Repository, https://github.com/CategoricalData/hydra
|
|
@@ -9,7 +9,7 @@ License: Apache-2.0
|
|
|
9
9
|
License-File: LICENSE
|
|
10
10
|
License-File: NOTICE
|
|
11
11
|
Requires-Python: >=3.12
|
|
12
|
-
Requires-Dist: hydra-kernel==0.17.
|
|
12
|
+
Requires-Dist: hydra-kernel==0.17.1
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
|
|
15
15
|
# Hydra-Python
|
|
@@ -133,7 +133,7 @@ Hydra's Python code is split across three locations
|
|
|
133
133
|
|
|
134
134
|
- **Python kernel overlay** ([`overlay/python/hydra-kernel/src/main/python/`](https://github.com/CategoricalData/hydra/tree/main/overlay/python/hydra-kernel/src/main/python))
|
|
135
135
|
— hand-written Python kernel runtime, overlaid onto `dist/python/hydra-kernel/`
|
|
136
|
-
by `bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
136
|
+
by `heads/python/bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
137
137
|
- `hydra/lib/` — primitive function implementations
|
|
138
138
|
- `hydra/dsl/` — DSL utilities (FrozenDict, Maybe, ...)
|
|
139
139
|
- `hydra/python/util/` — `ConsList`, `Lazy`, `PersistentMap`, `PersistentSet`
|
|
@@ -119,7 +119,7 @@ Hydra's Python code is split across three locations
|
|
|
119
119
|
|
|
120
120
|
- **Python kernel overlay** ([`overlay/python/hydra-kernel/src/main/python/`](https://github.com/CategoricalData/hydra/tree/main/overlay/python/hydra-kernel/src/main/python))
|
|
121
121
|
— hand-written Python kernel runtime, overlaid onto `dist/python/hydra-kernel/`
|
|
122
|
-
by `bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
122
|
+
by `heads/python/bin/copy-kernel-runtime.sh` so the published `hydra-kernel` wheel is self-contained
|
|
123
123
|
- `hydra/lib/` — primitive function implementations
|
|
124
124
|
- `hydra/dsl/` — DSL utilities (FrozenDict, Maybe, ...)
|
|
125
125
|
- `hydra/python/util/` — `ConsList`, `Lazy`, `PersistentMap`, `PersistentSet`
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"digestFormatVersion": 1,
|
|
3
|
+
"moduleFormatVersion": 1,
|
|
4
|
+
"generator": "fac2cd88719cd8aa",
|
|
5
|
+
"generation": {
|
|
6
|
+
"generatorId": "fac2cd88719cd8aa",
|
|
7
|
+
"mode": "published",
|
|
8
|
+
"hydraVersion": "0.17.0",
|
|
9
|
+
"revision": "68f5773dae-dirty",
|
|
10
|
+
"timestamp": "2026-07-10T23:43:07Z",
|
|
11
|
+
"host": "python"
|
|
12
|
+
},
|
|
13
|
+
"selfHash": "2e7e5a8f53bbb9198075728dc87c31624a25d245bc3cd02fff6ef77157e90091",
|
|
14
|
+
"depHash:hydra-kernel": "8067c7a989a8f25c7823410c00e40eba302a0380f864dc28ff303581ac8c100f",
|
|
15
|
+
"inputs": {
|
|
16
|
+
"hydra.python.coder": { "kind": "Other", "hash": "dc2b9ad0a0fc5cada2f82ff850db14db1368447c62a20e0846c9fca136e84309" },
|
|
17
|
+
"hydra.python.environment": { "kind": "Other", "hash": "e14b76188ef4da15c8f011740ed2751e9b55cd0e13f9d9e9d6917cb644526ac9" },
|
|
18
|
+
"hydra.python.language": { "kind": "Other", "hash": "78fb867a1d0fa6654f46f5d9fd72c2c5607d2934b7c7fbd5f5d830786b4ad91e" },
|
|
19
|
+
"hydra.python.names": { "kind": "Other", "hash": "85e048a96cf966e2280c6ed8f74d9d801d34e8a983e04de1ab3fb73e168d97f8" },
|
|
20
|
+
"hydra.python.pyproject": { "kind": "Other", "hash": "249512648b2b008db234ee348a72056d4d625cfeb0a80d8caacbda95002569a2" },
|
|
21
|
+
"hydra.python.serde": { "kind": "Other", "hash": "56c35209fc8428472299facbb972ce2d63863a4a970714f9b34d34c2af08159c" },
|
|
22
|
+
"hydra.python.syntax": { "kind": "Other", "hash": "88a9154b48fd429f06efa0ba8981bdf12af3fed4de5a057b3304fadc623dbc19" },
|
|
23
|
+
"hydra.python.testing": { "kind": "Other", "hash": "624c33ec2714b57c2d5917c03b590088c210dd5b27b5f3ae78d0476e9f11859b" },
|
|
24
|
+
"hydra.python.utils": { "kind": "Other", "hash": "3f374ef5605f94725379aded1afcb0b5fe5ea84a4e78dd2b0bbc649d0ec672c6" },
|
|
25
|
+
"jsonContent:hydra/dsl/python/environment.json": { "kind": "Other", "hash": "670d83127f7a308b11a577e3481eb9926d366a1046ab99a5e1578b0bf72159c4" },
|
|
26
|
+
"jsonContent:hydra/dsl/python/names.json": { "kind": "Other", "hash": "244d73ec6a140f89bafcbb87dc8570a09f50151508aa0443708e7070749be876" },
|
|
27
|
+
"jsonContent:hydra/dsl/python/syntax.json": { "kind": "Other", "hash": "a99b94b1f3e542d606da15fd6dafa32d858ce7d71ba02f7b21d8bb4881daa4e3" },
|
|
28
|
+
"jsonContent:hydra/dsl/python/utils.json": { "kind": "Other", "hash": "5464cb8e1db43a03b98327746b668050f4159a90f13ce5334c32e6d7dbbceb4c" },
|
|
29
|
+
"jsonContent:hydra/python/coder.json": { "kind": "Other", "hash": "08474252a6c6d5f46df96fd8d2800324e65a04eb610572475cadc07aaacd9f58" },
|
|
30
|
+
"jsonContent:hydra/python/environment.json": { "kind": "Other", "hash": "b5bc63f7d18f47262c90738cb793098f88a97376fd52088b3c8661c1d9ea5cbd" },
|
|
31
|
+
"jsonContent:hydra/python/language.json": { "kind": "Other", "hash": "221e68d68030945db181fdd079be4ff619cb4cd1ad5d4b72b4e70f2aa1bd5230" },
|
|
32
|
+
"jsonContent:hydra/python/names.json": { "kind": "Other", "hash": "593cbc7e36735c0d92e34df76e17e4adc949e593e84bcf697b3163b2209a7b1a" },
|
|
33
|
+
"jsonContent:hydra/python/pyproject.json": { "kind": "Other", "hash": "c94de46f1615e6e82d2f706d01ef04293373f6241a9a42882bb394d51b4f7f53" },
|
|
34
|
+
"jsonContent:hydra/python/serde.json": { "kind": "Other", "hash": "fc154ee28315726ae77a0036d7c83c6481fed08fa9464138730ff702dd5b0434" },
|
|
35
|
+
"jsonContent:hydra/python/syntax.json": { "kind": "Other", "hash": "8dc3a26ac927fa338b273c9deee6317906977a2deec4c2df1e44ff0bbe0a64cd" },
|
|
36
|
+
"jsonContent:hydra/python/testing.json": { "kind": "Other", "hash": "ea1cbdd469bb2fc8bac0445d75df3d97f832f86ec460bacc06056a6f8f5bfb8a" },
|
|
37
|
+
"jsonContent:hydra/python/utils.json": { "kind": "Other", "hash": "19fcf00beab2f029d765d9212ae2b8be4327ef84aa54702dc55dbe620eba74dc" },
|
|
38
|
+
"jsonContent:manifest.json": { "kind": "Other", "hash": "3f94b521766d042381d7bee84596308ea4e35c7e8fb45f8fd8338a8dbe27a0ac" }
|
|
39
|
+
},
|
|
40
|
+
"outputs": {
|
|
41
|
+
"hydra/dsl/python/environment.py": { "kind": "TargetFile", "hash": "b209619140e3be5a139672944bed98f4de87b6ca48ab93981722d158fde1f424" },
|
|
42
|
+
"hydra/dsl/python/names.py": { "kind": "TargetFile", "hash": "3733bed7b32e56239c4c2dd5a748e66ee0f5b9eff629687648a5ebe232508a93" },
|
|
43
|
+
"hydra/dsl/python/syntax.py": { "kind": "TargetFile", "hash": "5fe1c0c739cdac68d1b90d768153e23ebe7c805bafb96ac698a95425e2d7d7b5" },
|
|
44
|
+
"hydra/dsl/python/utils.py": { "kind": "TargetFile", "hash": "fbf8522b1d5c64eb570027d579b512caf7ae3853f010b4e4666746df6d262812" },
|
|
45
|
+
"hydra/python/coder.py": { "kind": "TargetFile", "hash": "c5761e616bd8efc7c1aff800be8f606b1d4b91f8cd27cf1d5ca376873cedc679" },
|
|
46
|
+
"hydra/python/environment.py": { "kind": "TargetFile", "hash": "240979735f3a2d479403834c1a4d7a16f060ad447eb4f3b05fbb2db591d7ad0b" },
|
|
47
|
+
"hydra/python/language.py": { "kind": "TargetFile", "hash": "7ea0c3a6015ec1de92aebeed0963c1af9f3b70c8d57815e477c528c795383604" },
|
|
48
|
+
"hydra/python/names.py": { "kind": "TargetFile", "hash": "da24e2a2622692b875e55987179397f23d243ceb2311572befada3da95fddd7c" },
|
|
49
|
+
"hydra/python/pyproject.py": { "kind": "TargetFile", "hash": "1f9001d8d2273d4783105e099b874c273ce520b58456f9b447cb8d5e9a6a37d7" },
|
|
50
|
+
"hydra/python/serde.py": { "kind": "TargetFile", "hash": "c8f437960117837fd1c0db1300f343e1defb644e0239d4c8ceba9ee8d5e24eeb" },
|
|
51
|
+
"hydra/python/syntax.py": { "kind": "TargetFile", "hash": "24a72af882b47d80cc930f16f51a3e9c1a71c9d8da47a921829f40e847459fca" },
|
|
52
|
+
"hydra/python/testing.py": { "kind": "TargetFile", "hash": "f4e37636391d0abc27a7d722554ded2e8ac7ae8a11f513cb24822d7cdbca4fe7" },
|
|
53
|
+
"hydra/python/utils.py": { "kind": "TargetFile", "hash": "afb0cb6952a26e4be51d8b650e69d793334c37243ab42b910a93c96eaa8ad99b" }
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
[project]
|
|
15
15
|
name = "hydra-python"
|
|
16
|
-
version = "0.17.
|
|
16
|
+
version = "0.17.1"
|
|
17
17
|
description = "Python support for Hydra"
|
|
18
18
|
readme = "README.md"
|
|
19
19
|
requires-python = ">=3.12"
|
|
@@ -22,7 +22,7 @@ authors = [
|
|
|
22
22
|
{ name = "Joshua Shinavier", email = "josh@fortytwo.net" },
|
|
23
23
|
]
|
|
24
24
|
dependencies = [
|
|
25
|
-
"hydra-kernel == 0.17.
|
|
25
|
+
"hydra-kernel == 0.17.1",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.urls]
|
|
@@ -34,6 +34,9 @@ def py_graph_metadata(x: hydra.typed.TypedTerm[hydra.python.environment.PyGraph]
|
|
|
34
34
|
hydra.core.TermProject(hydra.core.Projection(hydra.core.Name("hydra.python.environment.PyGraph"), hydra.core.Name("metadata")))),
|
|
35
35
|
x.value))))
|
|
36
36
|
|
|
37
|
+
# DSL name token for hydra.python.environment.PyGraph.
|
|
38
|
+
py_graph_py_graph = hydra.typed.TypedName(hydra.core.Name("hydra.python.environment.PyGraph"))
|
|
39
|
+
|
|
37
40
|
def py_graph_with_graph(original: hydra.typed.TypedTerm[hydra.python.environment.PyGraph], new_val: hydra.typed.TypedTerm[hydra.graph.Graph]) -> hydra.typed.TypedTerm[hydra.python.environment.PyGraph]:
|
|
38
41
|
r"""DSL updater for the graph field of hydra.python.environment.PyGraph."""
|
|
39
42
|
|
|
@@ -118,6 +121,9 @@ def python_environment_nullary_bindings(x: hydra.typed.TypedTerm[hydra.python.en
|
|
|
118
121
|
hydra.core.TermProject(hydra.core.Projection(hydra.core.Name("hydra.python.environment.PythonEnvironment"), hydra.core.Name("nullaryBindings")))),
|
|
119
122
|
x.value))))
|
|
120
123
|
|
|
124
|
+
# DSL name token for hydra.python.environment.PythonEnvironment.
|
|
125
|
+
python_environment_python_environment = hydra.typed.TypedName(hydra.core.Name("hydra.python.environment.PythonEnvironment"))
|
|
126
|
+
|
|
121
127
|
def python_environment_skip_casts(x: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment]) -> hydra.typed.TypedTerm[bool]:
|
|
122
128
|
r"""DSL accessor for the skipCasts field of hydra.python.environment.PythonEnvironment."""
|
|
123
129
|
|
|
@@ -458,6 +464,9 @@ def python_module_metadata_namespaces(x: hydra.typed.TypedTerm[hydra.python.envi
|
|
|
458
464
|
hydra.core.TermProject(hydra.core.Projection(hydra.core.Name("hydra.python.environment.PythonModuleMetadata"), hydra.core.Name("namespaces")))),
|
|
459
465
|
x.value))))
|
|
460
466
|
|
|
467
|
+
# DSL name token for hydra.python.environment.PythonModuleMetadata.
|
|
468
|
+
python_module_metadata_python_module_metadata = hydra.typed.TypedName(hydra.core.Name("hydra.python.environment.PythonModuleMetadata"))
|
|
469
|
+
|
|
461
470
|
def python_module_metadata_type_variables(x: hydra.typed.TypedTerm[hydra.python.environment.PythonModuleMetadata]) -> hydra.typed.TypedTerm[Set[hydra.core.Name]]:
|
|
462
471
|
r"""DSL accessor for the typeVariables field of hydra.python.environment.PythonModuleMetadata."""
|
|
463
472
|
|
|
@@ -3336,3 +3345,6 @@ hydra.core.Field(hydra.core.Name("python310"), cast(hydra.core.Term, hydra.core.
|
|
|
3336
3345
|
python_version_python312 = hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
3337
3346
|
hydra.core.TermInject(hydra.core.Injection(hydra.core.Name("hydra.python.environment.PythonVersion"),
|
|
3338
3347
|
hydra.core.Field(hydra.core.Name("python312"), cast(hydra.core.Term, hydra.core.TermUnit()))))))
|
|
3348
|
+
|
|
3349
|
+
# DSL name token for hydra.python.environment.PythonVersion.
|
|
3350
|
+
python_version_python_version = hydra.typed.TypedName(hydra.core.Name("hydra.python.environment.PythonVersion"))
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Note: this is an automatically generated file. Do not edit.
|
|
2
|
+
|
|
3
|
+
r"""DSL functions for hydra.python.names."""
|
|
4
|
+
|
|
5
|
+
from __future__ import annotations
|
|
6
|
+
from collections.abc import Callable, Mapping
|
|
7
|
+
from functools import lru_cache
|
|
8
|
+
from hydra.overlay.python.util import Lazy, PersistentMap
|
|
9
|
+
from typing import TypeVar, cast
|
|
10
|
+
import hydra.core
|
|
11
|
+
import hydra.typed
|
|
12
|
+
|
|
13
|
+
T0 = TypeVar("T0")
|
|
14
|
+
T1 = TypeVar("T1")
|
|
15
|
+
|
|
16
|
+
def encode_constant_for_field_name(arg0: hydra.typed.TypedTerm[T0], arg1: hydra.typed.TypedTerm[T1], arg2: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
17
|
+
r"""DSL reference to hydra.python.names.encodeConstantForFieldName."""
|
|
18
|
+
|
|
19
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
20
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
21
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
22
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeConstantForFieldName"))),
|
|
23
|
+
arg0.value))),
|
|
24
|
+
arg1.value))),
|
|
25
|
+
arg2.value))))
|
|
26
|
+
|
|
27
|
+
def encode_constant_for_type_name(arg0: hydra.typed.TypedTerm[T0], arg1: hydra.typed.TypedTerm[T1]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
28
|
+
r"""DSL reference to hydra.python.names.encodeConstantForTypeName."""
|
|
29
|
+
|
|
30
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
31
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
32
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeConstantForTypeName"))),
|
|
33
|
+
arg0.value))),
|
|
34
|
+
arg1.value))))
|
|
35
|
+
|
|
36
|
+
def encode_enum_value(arg0: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment], arg1: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
37
|
+
r"""DSL reference to hydra.python.names.encodeEnumValue."""
|
|
38
|
+
|
|
39
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
40
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
41
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeEnumValue"))), arg0.value))),
|
|
42
|
+
arg1.value))))
|
|
43
|
+
|
|
44
|
+
def encode_field_name(arg0: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment], arg1: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
45
|
+
r"""DSL reference to hydra.python.names.encodeFieldName."""
|
|
46
|
+
|
|
47
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
48
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
49
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeFieldName"))), arg0.value))),
|
|
50
|
+
arg1.value))))
|
|
51
|
+
|
|
52
|
+
def encode_name(arg0: hydra.typed.TypedTerm[bool],
|
|
53
|
+
arg1: hydra.typed.TypedTerm[hydra.util.CaseConvention],
|
|
54
|
+
arg2: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment],
|
|
55
|
+
arg3: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
56
|
+
r"""DSL reference to hydra.python.names.encodeName."""
|
|
57
|
+
|
|
58
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
59
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
60
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
61
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
62
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeName"))), arg0.value))),
|
|
63
|
+
arg1.value))),
|
|
64
|
+
arg2.value))),
|
|
65
|
+
arg3.value))))
|
|
66
|
+
|
|
67
|
+
def encode_name_qualified(arg0: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment], arg1: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
68
|
+
r"""DSL reference to hydra.python.names.encodeNameQualified."""
|
|
69
|
+
|
|
70
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
71
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
72
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeNameQualified"))), arg0.value))),
|
|
73
|
+
arg1.value))))
|
|
74
|
+
|
|
75
|
+
def encode_namespace(arg0: hydra.typed.TypedTerm[hydra.packaging.ModuleName]) -> hydra.typed.TypedTerm[hydra.python.syntax.DottedName]:
|
|
76
|
+
r"""DSL reference to hydra.python.names.encodeNamespace."""
|
|
77
|
+
|
|
78
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
79
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeNamespace"))), arg0.value))))
|
|
80
|
+
|
|
81
|
+
def encode_namespace_string_with_overrides(arg0: hydra.typed.TypedTerm[hydra.packaging.ModuleName]) -> hydra.typed.TypedTerm[str]:
|
|
82
|
+
r"""DSL reference to hydra.python.names.encodeNamespaceStringWithOverrides."""
|
|
83
|
+
|
|
84
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
85
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeNamespaceStringWithOverrides"))),
|
|
86
|
+
arg0.value))))
|
|
87
|
+
|
|
88
|
+
def encode_namespace_with_overrides(arg0: hydra.typed.TypedTerm[hydra.packaging.ModuleName]) -> hydra.typed.TypedTerm[hydra.python.syntax.DottedName]:
|
|
89
|
+
r"""DSL reference to hydra.python.names.encodeNamespaceWithOverrides."""
|
|
90
|
+
|
|
91
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
92
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeNamespaceWithOverrides"))),
|
|
93
|
+
arg0.value))))
|
|
94
|
+
|
|
95
|
+
def encode_type_variable(arg0: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
96
|
+
r"""DSL reference to hydra.python.names.encodeTypeVariable."""
|
|
97
|
+
|
|
98
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
99
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.encodeTypeVariable"))), arg0.value))))
|
|
100
|
+
|
|
101
|
+
# DSL reference to hydra.python.names.overlayPythonModuleAliases.
|
|
102
|
+
overlay_python_module_aliases = hydra.typed.TypedTerm(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.overlayPythonModuleAliases"))))
|
|
103
|
+
|
|
104
|
+
def sanitize_python_name(arg0: hydra.typed.TypedTerm[str]) -> hydra.typed.TypedTerm[str]:
|
|
105
|
+
r"""DSL reference to hydra.python.names.sanitizePythonName."""
|
|
106
|
+
|
|
107
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
108
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.sanitizePythonName"))), arg0.value))))
|
|
109
|
+
|
|
110
|
+
def term_variable_reference(arg0: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment], arg1: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Expression]:
|
|
111
|
+
r"""DSL reference to hydra.python.names.termVariableReference."""
|
|
112
|
+
|
|
113
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
114
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
115
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.termVariableReference"))), arg0.value))),
|
|
116
|
+
arg1.value))))
|
|
117
|
+
|
|
118
|
+
def type_variable_reference(arg0: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment], arg1: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Expression]:
|
|
119
|
+
r"""DSL reference to hydra.python.names.typeVariableReference."""
|
|
120
|
+
|
|
121
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
122
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
123
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.typeVariableReference"))), arg0.value))),
|
|
124
|
+
arg1.value))))
|
|
125
|
+
|
|
126
|
+
# DSL reference to hydra.python.names.useFutureAnnotations.
|
|
127
|
+
use_future_annotations = hydra.typed.TypedTerm(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.useFutureAnnotations"))))
|
|
128
|
+
|
|
129
|
+
def variable_reference(arg0: hydra.typed.TypedTerm[hydra.util.CaseConvention],
|
|
130
|
+
arg1: hydra.typed.TypedTerm[bool],
|
|
131
|
+
arg2: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment],
|
|
132
|
+
arg3: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Expression]:
|
|
133
|
+
r"""DSL reference to hydra.python.names.variableReference."""
|
|
134
|
+
|
|
135
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
136
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
137
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
138
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
139
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.variableReference"))), arg0.value))),
|
|
140
|
+
arg1.value))),
|
|
141
|
+
arg2.value))),
|
|
142
|
+
arg3.value))))
|
|
143
|
+
|
|
144
|
+
def variant_name(arg0: hydra.typed.TypedTerm[bool],
|
|
145
|
+
arg1: hydra.typed.TypedTerm[hydra.python.environment.PythonEnvironment],
|
|
146
|
+
arg2: hydra.typed.TypedTerm[hydra.core.Name],
|
|
147
|
+
arg3: hydra.typed.TypedTerm[hydra.core.Name]) -> hydra.typed.TypedTerm[hydra.python.syntax.Name]:
|
|
148
|
+
r"""DSL reference to hydra.python.names.variantName."""
|
|
149
|
+
|
|
150
|
+
return hydra.typed.TypedTerm(cast(hydra.core.Term,
|
|
151
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
152
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
153
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term,
|
|
154
|
+
hydra.core.TermApplication(hydra.core.Application(cast(hydra.core.Term, hydra.core.TermVariable(hydra.core.Name("hydra.python.names.variantName"))), arg0.value))),
|
|
155
|
+
arg1.value))),
|
|
156
|
+
arg2.value))),
|
|
157
|
+
arg3.value))))
|