flamapy-rest 2.6.0.dev6__tar.gz → 2.6.0.dev11__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flamapy-rest
3
- Version: 2.6.0.dev6
3
+ Version: 2.6.0.dev11
4
4
  Summary: Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation.
5
5
  Author-email: Flamapy <flamapy@us.es>
6
6
  License-Expression: GPL-3.0-or-later
@@ -9,7 +9,7 @@ Requires-Python: >=3.11
9
9
  Description-Content-Type: text/markdown
10
10
  Requires-Dist: Flask
11
11
  Requires-Dist: gunicorn
12
- Requires-Dist: flamapy~=2.6.0.dev5
12
+ Requires-Dist: flamapy~=2.6.0.dev11
13
13
  Requires-Dist: flask-swagger-ui
14
14
  Requires-Dist: flask-restplus
15
15
  Requires-Dist: flask_cors
@@ -254,6 +254,8 @@ def create_route(operation_name: str, docstring: str) -> Callable[[], Any]:
254
254
  for name, method in inspect.getmembers(FLAMAFeatureModel, predicate=inspect.isfunction):
255
255
  if name.startswith('_'):
256
256
  continue
257
+ if getattr(method, '_facade_kind', 'operation') != 'operation':
258
+ continue # producers/transformers return models; Python-API only for now
257
259
  docstring = extract_docstring_with_swagger_info(method)
258
260
  limit = expensive_operation_limit if name in _EXPENSIVE_OPERATIONS else default_operation_limit
259
261
  route_view = limiter.limit(limit)(create_route(name, docstring))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: flamapy-rest
3
- Version: 2.6.0.dev6
3
+ Version: 2.6.0.dev11
4
4
  Summary: Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation.
5
5
  Author-email: Flamapy <flamapy@us.es>
6
6
  License-Expression: GPL-3.0-or-later
@@ -9,7 +9,7 @@ Requires-Python: >=3.11
9
9
  Description-Content-Type: text/markdown
10
10
  Requires-Dist: Flask
11
11
  Requires-Dist: gunicorn
12
- Requires-Dist: flamapy~=2.6.0.dev5
12
+ Requires-Dist: flamapy~=2.6.0.dev11
13
13
  Requires-Dist: flask-swagger-ui
14
14
  Requires-Dist: flask-restplus
15
15
  Requires-Dist: flask_cors
@@ -1,6 +1,6 @@
1
1
  Flask
2
2
  gunicorn
3
- flamapy~=2.6.0.dev5
3
+ flamapy~=2.6.0.dev11
4
4
  flask-swagger-ui
5
5
  flask-restplus
6
6
  flask_cors
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "flamapy-rest"
7
- version = "2.6.0.dev6"
7
+ version = "2.6.0.dev11"
8
8
  description = "Flamapy feature model is a distribution of the flama framework containing all plugins required to analyze feature models. It also offers a richer API and a complete command line interface and documentation."
9
9
  readme = "README.md"
10
10
  license = "GPL-3.0-or-later"
@@ -13,7 +13,7 @@ requires-python = ">=3.11"
13
13
  dependencies = [
14
14
  "Flask",
15
15
  "gunicorn",
16
- "flamapy~=2.6.0.dev5",
16
+ "flamapy~=2.6.0.dev11",
17
17
  "flask-swagger-ui",
18
18
  "flask-restplus",
19
19
  "flask_cors",