directed-inputs-class 2.1.0__tar.gz → 2.1.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.
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/CHANGELOG.md +7 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/PKG-INFO +7 -10
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/README.md +1 -1
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/pyproject.toml +7 -11
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/__init__.py +1 -1
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/decorators.py +5 -4
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/.gitignore +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/examples/README.md +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/examples/__init__.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/examples/basic_usage.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/examples/decorator_api.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/examples/encoding_decoding.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/project.json +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/__main__.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/py.typed +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/tests/__init__.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/tests/test_decorators.py +0 -0
- {directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/tests/test_main.py +0 -0
|
@@ -4,6 +4,13 @@
|
|
|
4
4
|
|
|
5
5
|
<!-- version list -->
|
|
6
6
|
|
|
7
|
+
## [2.1.1](https://github.com/jbcom/extended-data-library/compare/inputs-v2.1.0...inputs-v2.1.1) (2026-04-16)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
### Bug Fixes
|
|
11
|
+
|
|
12
|
+
* **connectors:** align exports and clean api docs warnings ([#133](https://github.com/jbcom/extended-data-library/issues/133)) ([ea125f8](https://github.com/jbcom/extended-data-library/commit/ea125f8360026c7404f750f636d41345ef682a3f))
|
|
13
|
+
|
|
7
14
|
## [2.1.0](https://github.com/jbcom/extended-data-library/compare/inputs-v2.0.0...inputs-v2.1.0) (2026-02-26)
|
|
8
15
|
|
|
9
16
|
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: directed-inputs-class
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Summary: Directed inputs class consumes and processes inputs from sources beyond args and kwargs
|
|
5
|
-
Project-URL: Documentation, https://extendeddata.dev
|
|
6
|
-
Project-URL: Issues, https://github.com/extended-data-library/
|
|
7
|
-
Project-URL: Source, https://github.com/extended-data-library/
|
|
8
|
-
Project-URL: Changelog, https://github.com/extended-data-library/
|
|
5
|
+
Project-URL: Documentation, https://extendeddata.dev/packages/inputs/
|
|
6
|
+
Project-URL: Issues, https://github.com/jbcom/extended-data-library/issues
|
|
7
|
+
Project-URL: Source, https://github.com/jbcom/extended-data-library/tree/main/packages/directed-inputs-class
|
|
8
|
+
Project-URL: Changelog, https://github.com/jbcom/extended-data-library/blob/main/packages/directed-inputs-class/CHANGELOG.md
|
|
9
9
|
Author-email: Jon Bogaty <jon@jonbogaty.com>
|
|
10
10
|
Maintainer-email: Jon Bogaty <jon@jonbogaty.com>
|
|
11
11
|
License: MIT
|
|
@@ -24,13 +24,10 @@ Requires-Dist: deepmerge>=1.1.1
|
|
|
24
24
|
Requires-Dist: extended-data-types
|
|
25
25
|
Requires-Dist: pyyaml>=6.0
|
|
26
26
|
Provides-Extra: docs
|
|
27
|
-
Requires-Dist: docutils>=0.17; extra == 'docs'
|
|
28
27
|
Requires-Dist: myst-parser>=3.0.1; extra == 'docs'
|
|
29
|
-
Requires-Dist: sphinx-autodoc-typehints>=2.0.0; extra == 'docs'
|
|
30
28
|
Requires-Dist: sphinx-autodoc2>=0.5.0; extra == 'docs'
|
|
31
|
-
Requires-Dist: sphinx-
|
|
29
|
+
Requires-Dist: sphinx-markdown-builder>=0.6.0; extra == 'docs'
|
|
32
30
|
Requires-Dist: sphinx>=7.0; extra == 'docs'
|
|
33
|
-
Requires-Dist: sphinxawesome-theme>=5.2.0; extra == 'docs'
|
|
34
31
|
Provides-Extra: tests
|
|
35
32
|
Requires-Dist: coverage[toml]>=7.6.0; extra == 'tests'
|
|
36
33
|
Requires-Dist: pytest-cov>=5.0.0; extra == 'tests'
|
|
@@ -358,5 +355,5 @@ Contributions are welcome! Please see the [Contributing Guidelines](https://gith
|
|
|
358
355
|
|
|
359
356
|
- [**PyPI**](https://pypi.org/project/directed-inputs-class/)
|
|
360
357
|
- [**GitHub**](https://github.com/jbcom/extended-data-library/tree/main/packages/directed-inputs-class)
|
|
361
|
-
- [**Documentation**](https://extendeddata.dev)
|
|
358
|
+
- [**Documentation**](https://extendeddata.dev/packages/inputs/)
|
|
362
359
|
- [**Changelog**](https://github.com/jbcom/extended-data-library/blob/main/packages/directed-inputs-class/CHANGELOG.md)
|
|
@@ -313,5 +313,5 @@ Contributions are welcome! Please see the [Contributing Guidelines](https://gith
|
|
|
313
313
|
|
|
314
314
|
- [**PyPI**](https://pypi.org/project/directed-inputs-class/)
|
|
315
315
|
- [**GitHub**](https://github.com/jbcom/extended-data-library/tree/main/packages/directed-inputs-class)
|
|
316
|
-
- [**Documentation**](https://extendeddata.dev)
|
|
316
|
+
- [**Documentation**](https://extendeddata.dev/packages/inputs/)
|
|
317
317
|
- [**Changelog**](https://github.com/jbcom/extended-data-library/blob/main/packages/directed-inputs-class/CHANGELOG.md)
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "directed-inputs-class"
|
|
7
|
-
version = "2.1.
|
|
7
|
+
version = "2.1.1"
|
|
8
8
|
description = "Directed inputs class consumes and processes inputs from sources beyond args and kwargs"
|
|
9
9
|
requires-python = ">=3.10"
|
|
10
10
|
license = { text = "MIT" }
|
|
@@ -30,10 +30,10 @@ dependencies = [
|
|
|
30
30
|
]
|
|
31
31
|
|
|
32
32
|
[project.urls]
|
|
33
|
-
Documentation = "https://extendeddata.dev"
|
|
34
|
-
Issues = "https://github.com/extended-data-library/
|
|
35
|
-
Source = "https://github.com/extended-data-library/
|
|
36
|
-
Changelog = "https://github.com/extended-data-library/
|
|
33
|
+
Documentation = "https://extendeddata.dev/packages/inputs/"
|
|
34
|
+
Issues = "https://github.com/jbcom/extended-data-library/issues"
|
|
35
|
+
Source = "https://github.com/jbcom/extended-data-library/tree/main/packages/directed-inputs-class"
|
|
36
|
+
Changelog = "https://github.com/jbcom/extended-data-library/blob/main/packages/directed-inputs-class/CHANGELOG.md"
|
|
37
37
|
|
|
38
38
|
[project.optional-dependencies]
|
|
39
39
|
tests = [
|
|
@@ -50,12 +50,9 @@ typing = [
|
|
|
50
50
|
]
|
|
51
51
|
docs = [
|
|
52
52
|
"sphinx>=7.0",
|
|
53
|
-
"sphinx-rtd-theme>=2.0.0",
|
|
54
|
-
"sphinx-autodoc-typehints>=2.0.0",
|
|
55
|
-
"sphinxawesome-theme>=5.2.0",
|
|
56
|
-
"sphinx-autodoc2>=0.5.0",
|
|
57
53
|
"myst-parser>=3.0.1",
|
|
58
|
-
"
|
|
54
|
+
"sphinx-autodoc2>=0.5.0",
|
|
55
|
+
"sphinx-markdown-builder>=0.6.0",
|
|
59
56
|
]
|
|
60
57
|
|
|
61
58
|
[tool.uv.sources]
|
|
@@ -81,7 +78,6 @@ source = ["src/directed_inputs_class"]
|
|
|
81
78
|
branch = true
|
|
82
79
|
parallel = true
|
|
83
80
|
source = ["directed_inputs_class"]
|
|
84
|
-
relative_files = true
|
|
85
81
|
|
|
86
82
|
[tool.coverage.xml]
|
|
87
83
|
output = "coverage.xml"
|
{directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/__init__.py
RENAMED
|
@@ -10,6 +10,6 @@ from directed_inputs_class.__main__ import DirectedInputsClass
|
|
|
10
10
|
from directed_inputs_class.decorators import directed_inputs, input_config
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
__version__ = "2.1.
|
|
13
|
+
__version__ = "2.1.1"
|
|
14
14
|
|
|
15
15
|
__all__ = ["DirectedInputsClass", "directed_inputs", "input_config"]
|
{directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/decorators.py
RENAMED
|
@@ -16,6 +16,7 @@ python-terraform-bridge) to instantiate the classes safely.
|
|
|
16
16
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
|
+
import builtins
|
|
19
20
|
import functools
|
|
20
21
|
import inspect
|
|
21
22
|
|
|
@@ -176,7 +177,7 @@ def directed_inputs(
|
|
|
176
177
|
from_stdin: bool = False,
|
|
177
178
|
env_prefix: str | None = None,
|
|
178
179
|
strip_env_prefix: bool = False,
|
|
179
|
-
) -> Callable[[type[Any]], type[Any]]:
|
|
180
|
+
) -> Callable[[builtins.type[Any]], builtins.type[Any]]:
|
|
180
181
|
"""Class decorator that injects DirectedInputsClass behavior."""
|
|
181
182
|
base_options = {
|
|
182
183
|
"inputs": inputs,
|
|
@@ -186,7 +187,7 @@ def directed_inputs(
|
|
|
186
187
|
"strip_env_prefix": strip_env_prefix,
|
|
187
188
|
}
|
|
188
189
|
|
|
189
|
-
def decorator(cls: type[Any]) -> type[Any]:
|
|
190
|
+
def decorator(cls: builtins.type[Any]) -> builtins.type[Any]:
|
|
190
191
|
if getattr(cls, "__directed_inputs_enabled__", False):
|
|
191
192
|
return cls
|
|
192
193
|
|
|
@@ -242,7 +243,7 @@ def directed_inputs(
|
|
|
242
243
|
return decorator
|
|
243
244
|
|
|
244
245
|
|
|
245
|
-
def _inject_proxies(cls: type[Any]) -> None:
|
|
246
|
+
def _inject_proxies(cls: builtins.type[Any]) -> None:
|
|
246
247
|
"""Inject helper properties/methods for interacting with the context."""
|
|
247
248
|
|
|
248
249
|
def _get_context(self: Any) -> InputContext:
|
|
@@ -266,7 +267,7 @@ def _inject_proxies(cls: type[Any]) -> None:
|
|
|
266
267
|
cls.refresh_inputs = refresh_inputs
|
|
267
268
|
|
|
268
269
|
|
|
269
|
-
def _wrap_instance_methods(cls: type[Any]) -> None:
|
|
270
|
+
def _wrap_instance_methods(cls: builtins.type[Any]) -> None:
|
|
270
271
|
"""Wrap instance methods so missing parameters are auto-populated."""
|
|
271
272
|
for name, attribute in list(cls.__dict__.items()):
|
|
272
273
|
if _should_skip_method(name, attribute):
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/__main__.py
RENAMED
|
File without changes
|
{directed_inputs_class-2.1.0 → directed_inputs_class-2.1.1}/src/directed_inputs_class/py.typed
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|