qtype 0.0.4__py3-none-any.whl → 0.0.5__py3-none-any.whl
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.
- qtype/interpreter/api.py +9 -6
- {qtype-0.0.4.dist-info → qtype-0.0.5.dist-info}/METADATA +1 -1
- {qtype-0.0.4.dist-info → qtype-0.0.5.dist-info}/RECORD +7 -7
- {qtype-0.0.4.dist-info → qtype-0.0.5.dist-info}/WHEEL +0 -0
- {qtype-0.0.4.dist-info → qtype-0.0.5.dist-info}/entry_points.txt +0 -0
- {qtype-0.0.4.dist-info → qtype-0.0.5.dist-info}/licenses/LICENSE +0 -0
- {qtype-0.0.4.dist-info → qtype-0.0.5.dist-info}/top_level.txt +0 -0
qtype/interpreter/api.py
CHANGED
|
@@ -23,13 +23,16 @@ class APIExecutor:
|
|
|
23
23
|
self.host = host
|
|
24
24
|
self.port = port
|
|
25
25
|
|
|
26
|
-
def create_app(
|
|
26
|
+
def create_app(
|
|
27
|
+
self,
|
|
28
|
+
name: Optional[str],
|
|
29
|
+
fast_api_args: dict = {
|
|
30
|
+
"docs_url": "/docs",
|
|
31
|
+
"redoc_url": "/redoc",
|
|
32
|
+
},
|
|
33
|
+
) -> FastAPI:
|
|
27
34
|
"""Create FastAPI app with dynamic endpoints."""
|
|
28
|
-
app = FastAPI(
|
|
29
|
-
title=name or "QType API",
|
|
30
|
-
docs_url="/docs", # Swagger UI
|
|
31
|
-
redoc_url="/redoc",
|
|
32
|
-
)
|
|
35
|
+
app = FastAPI(title=name or "QType API", **fast_api_args)
|
|
33
36
|
|
|
34
37
|
flows = self.definition.flows if self.definition.flows else []
|
|
35
38
|
|
|
@@ -20,7 +20,7 @@ qtype/dsl/domain_types.py,sha256=VglaF7eTVjUmLvubQeNQo2ZA0pRooQXZ-OPJ6edQBIk,153
|
|
|
20
20
|
qtype/dsl/model.py,sha256=mAgqfG1us1mT53nYd0gAIwOSgudLSDlwQjUlG5MDfRg,21169
|
|
21
21
|
qtype/dsl/validator.py,sha256=yuDFPHfErPTIpZXCIyBrwpZJAitMEW0jNL8867KixUA,17130
|
|
22
22
|
qtype/interpreter/__init__.py,sha256=IaRF90JLFbsTLKz9LTOMI_Pz4xwVaEyXPNaXV7sLou8,43
|
|
23
|
-
qtype/interpreter/api.py,sha256=
|
|
23
|
+
qtype/interpreter/api.py,sha256=9hwc8pPrfbUDxHfEERsnEtPRBVjU1ziSyBgGIR5gWDw,3924
|
|
24
24
|
qtype/interpreter/conversions.py,sha256=d_hyWWR0PlhvRf2EiNt1sEzhFH8gIl3vMrVnSOFUZGk,5612
|
|
25
25
|
qtype/interpreter/exceptions.py,sha256=Il8IF0UAtYWQXwvOVQCY-csfRzC1iOejHM1G-nF5EfY,288
|
|
26
26
|
qtype/interpreter/flow.py,sha256=2u1wRahNFQaRRklnU4uW7_UKSD73-uZe_WiYlKitXQg,1233
|
|
@@ -42,9 +42,9 @@ qtype/semantic/errors.py,sha256=dmdxGkVHrTwfiEHj5RFu2q11dAtefsivpLdJd6QynK0,119
|
|
|
42
42
|
qtype/semantic/generate.py,sha256=U4r5Yo1b0wTBgw3dLnqjYD6wD6lc0TqdwUjhIV_yQRI,13085
|
|
43
43
|
qtype/semantic/model.py,sha256=Hd3rsTdvkHtAeIrPqpJf0yjHa697TnrUbm3pbrIgSK0,11047
|
|
44
44
|
qtype/semantic/resolver.py,sha256=D3CmRmr_ACL54ZCbc9HxXCuCZ37bNtSzlPLMpOeeOcw,3439
|
|
45
|
-
qtype-0.0.
|
|
46
|
-
qtype-0.0.
|
|
47
|
-
qtype-0.0.
|
|
48
|
-
qtype-0.0.
|
|
49
|
-
qtype-0.0.
|
|
50
|
-
qtype-0.0.
|
|
45
|
+
qtype-0.0.5.dist-info/licenses/LICENSE,sha256=1KA5EgYBSR0O6nCH2HEvk6Di53YKJ9r_VCR7G8G8qAY,11341
|
|
46
|
+
qtype-0.0.5.dist-info/METADATA,sha256=0T5PLI4kg58aPEnqie7J1Oxuc2edhz53R7S4Qi01uD4,4809
|
|
47
|
+
qtype-0.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
48
|
+
qtype-0.0.5.dist-info/entry_points.txt,sha256=5y4vj8RLvgl2tXSj-Hm7v5-Tn3kP4-UonjNoN-mfaQE,41
|
|
49
|
+
qtype-0.0.5.dist-info/top_level.txt,sha256=ONroH5B0mZ51jr7NSWCK0weFwwCO7wBLmyVS1YqNU14,6
|
|
50
|
+
qtype-0.0.5.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|