simple-module-feature-flags 0.0.24__tar.gz → 0.0.26__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.
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/PKG-INFO +5 -5
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/README.md +1 -1
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/constants.py +3 -1
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/pyproject.toml +4 -4
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/.gitignore +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/LICENSE +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/__init__.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/contracts/__init__.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/contracts/schemas.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/deps.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/endpoints/__init__.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/endpoints/api.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/endpoints/views.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/locales/en.json +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/models.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/module.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/pages/Browse.tsx +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/py.typed +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/service.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/package.json +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/tests/test_feature_flags_api.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/tests/test_feature_flags_service.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/tests/test_store_outage_fallback.py +0 -0
- {simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/tsconfig.json +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: simple_module_feature_flags
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.26
|
|
4
4
|
Summary: Simple feature-flag module with per-tenant overrides and a consumer API for simple_module
|
|
5
5
|
Project-URL: Homepage, https://github.com/antosubash/simple_module_python
|
|
6
6
|
Project-URL: Repository, https://github.com/antosubash/simple_module_python
|
|
@@ -21,9 +21,9 @@ Classifier: Topic :: Internet :: WWW/HTTP
|
|
|
21
21
|
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks
|
|
22
22
|
Classifier: Typing :: Typed
|
|
23
23
|
Requires-Python: >=3.12
|
|
24
|
-
Requires-Dist: simple-module-core==0.0.
|
|
25
|
-
Requires-Dist: simple-module-db==0.0.
|
|
26
|
-
Requires-Dist: simple-module-hosting==0.0.
|
|
24
|
+
Requires-Dist: simple-module-core==0.0.26
|
|
25
|
+
Requires-Dist: simple-module-db==0.0.26
|
|
26
|
+
Requires-Dist: simple-module-hosting==0.0.26
|
|
27
27
|
Description-Content-Type: text/markdown
|
|
28
28
|
|
|
29
29
|
# simple_module_feature_flags
|
|
@@ -61,7 +61,7 @@ Gate a route using the registry dependency:
|
|
|
61
61
|
```python
|
|
62
62
|
from fastapi import APIRouter, HTTPException
|
|
63
63
|
|
|
64
|
-
from feature_flags.deps import FeatureFlagRegistryDep
|
|
64
|
+
from feature_flags.deps import FeatureFlagRegistryDep # type: ignore[import-not-found]
|
|
65
65
|
|
|
66
66
|
router = APIRouter()
|
|
67
67
|
|
|
@@ -33,7 +33,7 @@ Gate a route using the registry dependency:
|
|
|
33
33
|
```python
|
|
34
34
|
from fastapi import APIRouter, HTTPException
|
|
35
35
|
|
|
36
|
-
from feature_flags.deps import FeatureFlagRegistryDep
|
|
36
|
+
from feature_flags.deps import FeatureFlagRegistryDep # type: ignore[import-not-found]
|
|
37
37
|
|
|
38
38
|
router = APIRouter()
|
|
39
39
|
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/constants.py
RENAMED
|
@@ -20,7 +20,9 @@ SCOPE_ID_MAX_LENGTH = 64
|
|
|
20
20
|
LOCALE_NAMESPACE = "feature_flags"
|
|
21
21
|
|
|
22
22
|
MENU_LABEL = "Feature Flags"
|
|
23
|
-
|
|
23
|
+
# Trailing slash: the browse route is registered at "/" under the view
|
|
24
|
+
# prefix, so linking to the bare prefix costs a 307 on every navigation.
|
|
25
|
+
MENU_URL = "/feature_flags/"
|
|
24
26
|
MENU_ICON = "flag"
|
|
25
27
|
MENU_ORDER = 110
|
|
26
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "simple_module_feature_flags"
|
|
3
|
-
version = "0.0.
|
|
3
|
+
version = "0.0.26"
|
|
4
4
|
description = "Simple feature-flag module with per-tenant overrides and a consumer API for simple_module"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -21,9 +21,9 @@ classifiers = [
|
|
|
21
21
|
"Typing :: Typed",
|
|
22
22
|
]
|
|
23
23
|
dependencies = [
|
|
24
|
-
"simple_module_core==0.0.
|
|
25
|
-
"simple_module_db==0.0.
|
|
26
|
-
"simple_module_hosting==0.0.
|
|
24
|
+
"simple_module_core==0.0.26",
|
|
25
|
+
"simple_module_db==0.0.26",
|
|
26
|
+
"simple_module_hosting==0.0.26",
|
|
27
27
|
]
|
|
28
28
|
|
|
29
29
|
[project.entry-points.simple_module]
|
|
File without changes
|
|
File without changes
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/deps.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/models.py
RENAMED
|
File without changes
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/module.py
RENAMED
|
File without changes
|
|
File without changes
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/py.typed
RENAMED
|
File without changes
|
{simple_module_feature_flags-0.0.24 → simple_module_feature_flags-0.0.26}/feature_flags/service.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|