polyapi-python 0.3.3.dev4__py3-none-any.whl → 0.3.3.dev5__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.
- polyapi/api.py +1 -0
- polyapi/generate.py +4 -4
- polyapi/parser.py +1 -0
- polyapi/poly_schemas.py +49 -15
- polyapi/schema.py +17 -6
- polyapi/server.py +9 -5
- polyapi/utils.py +68 -17
- {polyapi_python-0.3.3.dev4.dist-info → polyapi_python-0.3.3.dev5.dist-info}/METADATA +11 -1
- {polyapi_python-0.3.3.dev4.dist-info → polyapi_python-0.3.3.dev5.dist-info}/RECORD +12 -12
- {polyapi_python-0.3.3.dev4.dist-info → polyapi_python-0.3.3.dev5.dist-info}/WHEEL +0 -0
- {polyapi_python-0.3.3.dev4.dist-info → polyapi_python-0.3.3.dev5.dist-info}/licenses/LICENSE +0 -0
- {polyapi_python-0.3.3.dev4.dist-info → polyapi_python-0.3.3.dev5.dist-info}/top_level.txt +0 -0
polyapi/api.py
CHANGED
|
@@ -42,6 +42,7 @@ def render_api_function(
|
|
|
42
42
|
arg_names = [a["name"] for a in arguments]
|
|
43
43
|
args, args_def = parse_arguments(function_name, arguments)
|
|
44
44
|
return_type_name, return_type_def = get_type_and_def(return_type) # type: ignore
|
|
45
|
+
|
|
45
46
|
data = "{" + ", ".join([f"'{arg}': {rewrite_arg_name(arg)}" for arg in arg_names]) + "}"
|
|
46
47
|
|
|
47
48
|
api_response_type = f"{function_name}Response"
|
polyapi/generate.py
CHANGED
|
@@ -2,7 +2,7 @@ import json
|
|
|
2
2
|
import requests
|
|
3
3
|
import os
|
|
4
4
|
import shutil
|
|
5
|
-
from typing import List, cast
|
|
5
|
+
from typing import List, Tuple, cast
|
|
6
6
|
|
|
7
7
|
from .auth import render_auth_function
|
|
8
8
|
from .client import render_client_function
|
|
@@ -177,10 +177,10 @@ def generate() -> None:
|
|
|
177
177
|
print("Generating Poly Python SDK...", end="", flush=True)
|
|
178
178
|
remove_old_library()
|
|
179
179
|
|
|
180
|
-
limit_ids: List[str] = [] # useful for narrowing down generation to a single function to debug
|
|
181
|
-
|
|
182
180
|
specs = get_specs()
|
|
183
181
|
cache_specs(specs)
|
|
182
|
+
|
|
183
|
+
limit_ids: List[str] = [] # useful for narrowing down generation to a single function to debug
|
|
184
184
|
functions = parse_function_specs(specs, limit_ids=limit_ids)
|
|
185
185
|
|
|
186
186
|
schemas = get_schemas()
|
|
@@ -222,7 +222,7 @@ def clear() -> None:
|
|
|
222
222
|
print("Cleared!")
|
|
223
223
|
|
|
224
224
|
|
|
225
|
-
def render_spec(spec: SpecificationDto):
|
|
225
|
+
def render_spec(spec: SpecificationDto) -> Tuple[str, str]:
|
|
226
226
|
function_type = spec["type"]
|
|
227
227
|
function_description = spec["description"]
|
|
228
228
|
function_name = spec["name"]
|
polyapi/parser.py
CHANGED
polyapi/poly_schemas.py
CHANGED
|
@@ -2,7 +2,7 @@ import os
|
|
|
2
2
|
from typing import Any, Dict, List, Tuple
|
|
3
3
|
|
|
4
4
|
from polyapi.schema import wrapped_generate_schema_types
|
|
5
|
-
from polyapi.utils import add_import_to_init, init_the_init
|
|
5
|
+
from polyapi.utils import add_import_to_init, init_the_init, to_func_namespace
|
|
6
6
|
|
|
7
7
|
from .typedefs import SchemaSpecDto
|
|
8
8
|
|
|
@@ -23,23 +23,57 @@ def generate_schemas(specs: List[SchemaSpecDto]):
|
|
|
23
23
|
create_schema(spec)
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
def
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
def add_schema_file(
|
|
27
|
+
full_path: str,
|
|
28
|
+
schema_name: str,
|
|
29
|
+
spec: SchemaSpecDto,
|
|
30
|
+
):
|
|
31
|
+
# first lets add the import to the __init__
|
|
32
|
+
init_the_init(full_path, SCHEMA_CODE_IMPORTS)
|
|
30
33
|
|
|
31
|
-
|
|
32
|
-
|
|
34
|
+
if not spec["definition"].get("title"):
|
|
35
|
+
# very empty schemas like mews.Unit are possible
|
|
36
|
+
# add a title here to be sure they render
|
|
37
|
+
spec["definition"]["title"] = schema_name
|
|
33
38
|
|
|
39
|
+
schema_defs = render_poly_schema(spec)
|
|
40
|
+
|
|
41
|
+
if schema_defs:
|
|
42
|
+
# add function to init
|
|
43
|
+
init_path = os.path.join(full_path, "__init__.py")
|
|
44
|
+
with open(init_path, "a") as f:
|
|
45
|
+
f.write(f"\n\nfrom ._{to_func_namespace(schema_name)} import {schema_name}")
|
|
46
|
+
|
|
47
|
+
# add type_defs to underscore file
|
|
48
|
+
file_path = os.path.join(full_path, f"_{to_func_namespace(schema_name)}.py")
|
|
49
|
+
with open(file_path, "w") as f:
|
|
50
|
+
f.write(schema_defs)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def create_schema(
|
|
54
|
+
spec: SchemaSpecDto
|
|
55
|
+
) -> None:
|
|
56
|
+
full_path = os.path.dirname(os.path.abspath(__file__))
|
|
57
|
+
folders = f"schemas.{spec['context']}.{spec['name']}".split(".")
|
|
34
58
|
for idx, folder in enumerate(folders):
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
59
|
+
if idx + 1 == len(folders):
|
|
60
|
+
# special handling for final level
|
|
61
|
+
add_schema_file(
|
|
62
|
+
full_path,
|
|
63
|
+
folder,
|
|
64
|
+
spec,
|
|
65
|
+
)
|
|
66
|
+
else:
|
|
67
|
+
full_path = os.path.join(full_path, folder)
|
|
68
|
+
if not os.path.exists(full_path):
|
|
69
|
+
os.makedirs(full_path)
|
|
70
|
+
|
|
71
|
+
# append to __init__.py file if nested folders
|
|
72
|
+
next = folders[idx + 1] if idx + 2 < len(folders) else ""
|
|
73
|
+
if next:
|
|
74
|
+
init_the_init(full_path, SCHEMA_CODE_IMPORTS)
|
|
75
|
+
add_import_to_init(full_path, next)
|
|
76
|
+
|
|
43
77
|
|
|
44
78
|
|
|
45
79
|
def add_schema_to_init(full_path: str, spec: SchemaSpecDto):
|
polyapi/schema.py
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
""" NOTE: this file represents the schema parsing logic for jsonschema_gentypes
|
|
2
2
|
"""
|
|
3
|
-
import random
|
|
4
|
-
import string
|
|
5
3
|
import logging
|
|
6
4
|
import contextlib
|
|
5
|
+
import re
|
|
7
6
|
from typing import Dict
|
|
8
7
|
from jsonschema_gentypes.cli import process_config
|
|
9
8
|
from jsonschema_gentypes import configuration
|
|
@@ -48,10 +47,8 @@ def wrapped_generate_schema_types(type_spec: dict, root, fallback_type):
|
|
|
48
47
|
# lets name the root after the reference for some level of visibility
|
|
49
48
|
root += pascalCase(type_spec["x-poly-ref"]["path"].replace(".", " "))
|
|
50
49
|
else:
|
|
51
|
-
#
|
|
52
|
-
root
|
|
53
|
-
root += random.choice(string.ascii_letters).upper()
|
|
54
|
-
root += random.choice(string.ascii_letters).upper()
|
|
50
|
+
# if we have no root, just add "My"
|
|
51
|
+
root = "My" + root
|
|
55
52
|
|
|
56
53
|
root = clean_title(root)
|
|
57
54
|
|
|
@@ -99,9 +96,23 @@ def generate_schema_types(input_data: Dict, root=None):
|
|
|
99
96
|
with open(tmp_output) as f:
|
|
100
97
|
output = f.read()
|
|
101
98
|
|
|
99
|
+
output = clean_malformed_examples(output)
|
|
100
|
+
|
|
102
101
|
return output
|
|
103
102
|
|
|
104
103
|
|
|
104
|
+
# Regex to match everything between "# example: {\n" and "^}$"
|
|
105
|
+
MALFORMED_EXAMPLES_PATTERN = re.compile(r"# example: \{\n.*?^\}$", flags=re.DOTALL | re.MULTILINE)
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
def clean_malformed_examples(example: str) -> str:
|
|
109
|
+
""" there is a bug in the `jsonschmea_gentypes` library where if an example from a jsonchema is an object,
|
|
110
|
+
it will break the code because the object won't be properly commented out
|
|
111
|
+
"""
|
|
112
|
+
cleaned_example = MALFORMED_EXAMPLES_PATTERN.sub("", example)
|
|
113
|
+
return cleaned_example
|
|
114
|
+
|
|
115
|
+
|
|
105
116
|
def clean_title(title: str) -> str:
|
|
106
117
|
""" used by library generation, sometimes functions can be added with spaces in the title
|
|
107
118
|
or other nonsense. fix them!
|
polyapi/server.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from typing import Any, Dict, List, Tuple
|
|
1
|
+
from typing import Any, Dict, List, Tuple, cast
|
|
2
2
|
|
|
3
|
-
from polyapi.typedefs import PropertySpecification
|
|
4
|
-
from polyapi.utils import add_type_import_path, parse_arguments, get_type_and_def, rewrite_arg_name
|
|
3
|
+
from polyapi.typedefs import PropertySpecification, PropertyType
|
|
4
|
+
from polyapi.utils import add_type_import_path, parse_arguments, get_type_and_def, return_type_already_defined_in_args, rewrite_arg_name
|
|
5
5
|
|
|
6
6
|
SERVER_DEFS_TEMPLATE = """
|
|
7
7
|
from typing import List, Dict, Any, TypedDict, Callable
|
|
@@ -21,7 +21,7 @@ def {function_name}(
|
|
|
21
21
|
try:
|
|
22
22
|
return {return_action}
|
|
23
23
|
except:
|
|
24
|
-
return resp.text
|
|
24
|
+
return resp.text # type: ignore # fallback for debugging
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
"""
|
|
@@ -37,7 +37,11 @@ def render_server_function(
|
|
|
37
37
|
) -> Tuple[str, str]:
|
|
38
38
|
arg_names = [a["name"] for a in arguments]
|
|
39
39
|
args, args_def = parse_arguments(function_name, arguments)
|
|
40
|
-
return_type_name, return_type_def = get_type_and_def(return_type)
|
|
40
|
+
return_type_name, return_type_def = get_type_and_def(cast(PropertyType, return_type), "ReturnType")
|
|
41
|
+
|
|
42
|
+
if return_type_def and return_type_already_defined_in_args(return_type_name, args_def):
|
|
43
|
+
return_type_def = ""
|
|
44
|
+
|
|
41
45
|
data = "{" + ", ".join([f"'{arg}': {rewrite_arg_name(arg)}" for arg in arg_names]) + "}"
|
|
42
46
|
func_type_defs = SERVER_DEFS_TEMPLATE.format(
|
|
43
47
|
args_def=args_def,
|
polyapi/utils.py
CHANGED
|
@@ -6,7 +6,11 @@ from typing import Tuple, List
|
|
|
6
6
|
from colorama import Fore, Style
|
|
7
7
|
from polyapi.constants import BASIC_PYTHON_TYPES
|
|
8
8
|
from polyapi.typedefs import PropertySpecification, PropertyType
|
|
9
|
-
from polyapi.schema import
|
|
9
|
+
from polyapi.schema import (
|
|
10
|
+
wrapped_generate_schema_types,
|
|
11
|
+
clean_title,
|
|
12
|
+
map_primitive_types,
|
|
13
|
+
)
|
|
10
14
|
|
|
11
15
|
|
|
12
16
|
# this string should be in every __init__ file.
|
|
@@ -42,7 +46,7 @@ def camelCase(s: str) -> str:
|
|
|
42
46
|
s = s.strip()
|
|
43
47
|
if " " in s or "-" in s:
|
|
44
48
|
s = re.sub(r"(_|-)+", " ", s).title().replace(" ", "")
|
|
45
|
-
return
|
|
49
|
+
return "".join([s[0].lower(), s[1:]])
|
|
46
50
|
else:
|
|
47
51
|
# s is already in camelcase as best as we can tell, just move on!
|
|
48
52
|
return s
|
|
@@ -65,8 +69,7 @@ def print_red(s: str):
|
|
|
65
69
|
|
|
66
70
|
|
|
67
71
|
def add_type_import_path(function_name: str, arg: str) -> str:
|
|
68
|
-
"""
|
|
69
|
-
"""
|
|
72
|
+
"""if not basic type, coerce to camelCase and add the import path"""
|
|
70
73
|
# for now, just treat Callables as basic types
|
|
71
74
|
if arg.startswith("Callable"):
|
|
72
75
|
return arg
|
|
@@ -83,12 +86,16 @@ def add_type_import_path(function_name: str, arg: str) -> str:
|
|
|
83
86
|
sub = sub.replace('"', "")
|
|
84
87
|
return f'List["{to_func_namespace(function_name)}.{camelCase(sub)}"]'
|
|
85
88
|
else:
|
|
86
|
-
return f
|
|
89
|
+
return f"List[{to_func_namespace(function_name)}.{camelCase(sub)}]"
|
|
87
90
|
|
|
88
|
-
return f
|
|
91
|
+
return f"{to_func_namespace(function_name)}.{camelCase(arg)}"
|
|
89
92
|
|
|
90
93
|
|
|
91
|
-
def get_type_and_def(
|
|
94
|
+
def get_type_and_def(
|
|
95
|
+
type_spec: PropertyType, title_fallback: str = ""
|
|
96
|
+
) -> Tuple[str, str]:
|
|
97
|
+
""" returns type and type definition for a given PropertyType
|
|
98
|
+
"""
|
|
92
99
|
if type_spec["kind"] == "plain":
|
|
93
100
|
value = type_spec["value"]
|
|
94
101
|
if value.endswith("[]"):
|
|
@@ -115,15 +122,19 @@ def get_type_and_def(type_spec: PropertyType) -> Tuple[str, str]:
|
|
|
115
122
|
elif type_spec["kind"] == "object":
|
|
116
123
|
if type_spec.get("schema"):
|
|
117
124
|
schema = type_spec["schema"]
|
|
118
|
-
title = schema.get("title", schema.get("name",
|
|
119
|
-
if title:
|
|
125
|
+
title = schema.get("title", schema.get("name", title_fallback))
|
|
126
|
+
if title and schema.get("type") == "array":
|
|
127
|
+
# TODO fix me
|
|
128
|
+
# we don't use ReturnType as name for the list type here, we use _ReturnTypeItem
|
|
129
|
+
return "List", ""
|
|
130
|
+
elif title:
|
|
120
131
|
assert isinstance(title, str)
|
|
121
132
|
return wrapped_generate_schema_types(schema, title, "Dict") # type: ignore
|
|
122
|
-
elif schema.get("allOf") and len(schema[
|
|
133
|
+
elif schema.get("allOf") and len(schema["allOf"]):
|
|
123
134
|
# we are in a case of a single allOf, lets strip off the allOf and move on!
|
|
124
135
|
# our library doesn't handle allOf well yet
|
|
125
|
-
allOf = schema[
|
|
126
|
-
title = allOf.get("title", allOf.get("name",
|
|
136
|
+
allOf = schema["allOf"][0]
|
|
137
|
+
title = allOf.get("title", allOf.get("name", title_fallback))
|
|
127
138
|
return wrapped_generate_schema_types(allOf, title, "Dict")
|
|
128
139
|
elif schema.get("items"):
|
|
129
140
|
# fallback to schema $ref name if no explicit title
|
|
@@ -131,7 +142,7 @@ def get_type_and_def(type_spec: PropertyType) -> Tuple[str, str]:
|
|
|
131
142
|
title = items.get("title") # type: ignore
|
|
132
143
|
if not title:
|
|
133
144
|
# title is actually a reference to another schema
|
|
134
|
-
title = items.get("$ref",
|
|
145
|
+
title = items.get("$ref", title_fallback) # type: ignore
|
|
135
146
|
|
|
136
147
|
title = title.rsplit("/", 1)[-1]
|
|
137
148
|
if not title:
|
|
@@ -153,12 +164,18 @@ def get_type_and_def(type_spec: PropertyType) -> Tuple[str, str]:
|
|
|
153
164
|
return_type = "Any"
|
|
154
165
|
|
|
155
166
|
for argument in type_spec["spec"]["arguments"]:
|
|
167
|
+
# do NOT add this fallback here
|
|
168
|
+
# callable arguments don't understand the imports yet
|
|
169
|
+
# if it's not a basic type here, we'll just do Any
|
|
170
|
+
# _maybe_add_fallback_schema_name(argument)
|
|
156
171
|
arg_type, arg_def = get_type_and_def(argument["type"])
|
|
157
172
|
arg_types.append(arg_type)
|
|
158
173
|
if arg_def:
|
|
159
174
|
arg_defs.append(arg_def)
|
|
160
175
|
|
|
161
|
-
final_arg_type = "Callable[[{}], {}]".format(
|
|
176
|
+
final_arg_type = "Callable[[{}], {}]".format(
|
|
177
|
+
", ".join(arg_types), return_type
|
|
178
|
+
)
|
|
162
179
|
return final_arg_type, "\n".join(arg_defs)
|
|
163
180
|
else:
|
|
164
181
|
return "Callable", ""
|
|
@@ -168,15 +185,27 @@ def get_type_and_def(type_spec: PropertyType) -> Tuple[str, str]:
|
|
|
168
185
|
return "Any", ""
|
|
169
186
|
|
|
170
187
|
|
|
171
|
-
def
|
|
188
|
+
def _maybe_add_fallback_schema_name(a: PropertySpecification):
|
|
189
|
+
if a["type"]["kind"] == "object" and a["type"].get("schema"):
|
|
190
|
+
schema = a["type"].get("schema", {})
|
|
191
|
+
if not schema.get("title") and not schema.get("name") and a["name"]:
|
|
192
|
+
schema["title"] = a["name"].title()
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
def parse_arguments(
|
|
196
|
+
function_name: str, arguments: List[PropertySpecification]
|
|
197
|
+
) -> Tuple[str, str]:
|
|
172
198
|
args_def = []
|
|
173
199
|
arg_string = ""
|
|
174
200
|
for idx, a in enumerate(arguments):
|
|
201
|
+
_maybe_add_fallback_schema_name(a)
|
|
175
202
|
arg_type, arg_def = get_type_and_def(a["type"])
|
|
176
203
|
if arg_def:
|
|
177
204
|
args_def.append(arg_def)
|
|
178
205
|
a["name"] = rewrite_arg_name(a["name"])
|
|
179
|
-
arg_string +=
|
|
206
|
+
arg_string += (
|
|
207
|
+
f" {a['name']}: {add_type_import_path(function_name, arg_type)}"
|
|
208
|
+
)
|
|
180
209
|
description = a.get("description", "")
|
|
181
210
|
description = description.replace("\n", " ")
|
|
182
211
|
if description:
|
|
@@ -202,7 +231,7 @@ RESERVED_WORDS = {"List", "Dict", "Any", "Optional", "Callable"} | set(keyword.k
|
|
|
202
231
|
|
|
203
232
|
|
|
204
233
|
def to_func_namespace(s: str) -> str:
|
|
205
|
-
"""
|
|
234
|
+
"""convert a function name to some function namespace
|
|
206
235
|
by default it is
|
|
207
236
|
"""
|
|
208
237
|
rv = s[0].upper() + s[1:]
|
|
@@ -221,6 +250,10 @@ def rewrite_arg_name(s: str):
|
|
|
221
250
|
return rewrite_reserved(camelCase(s))
|
|
222
251
|
|
|
223
252
|
|
|
253
|
+
# def get_return_type_name(function_name: str) -> str:
|
|
254
|
+
# return function_name[0].upper() + function_name[1:] + "ReturnType"
|
|
255
|
+
|
|
256
|
+
|
|
224
257
|
valid_subdomains = ["na[1-2]", "eu[1-2]", "dev"]
|
|
225
258
|
|
|
226
259
|
|
|
@@ -238,3 +271,21 @@ def is_valid_uuid(uuid_string, version=4):
|
|
|
238
271
|
return False
|
|
239
272
|
|
|
240
273
|
return str(uuid_obj) == uuid_string
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
def return_type_already_defined_in_args(return_type_name: str, args_def: str) -> bool:
|
|
277
|
+
"""
|
|
278
|
+
Checks if the return_type_name preceded optionally by 'class ' and followed by ' =' exists in args_def.
|
|
279
|
+
|
|
280
|
+
Args:
|
|
281
|
+
return_type_name (str): The name of the return type to check.
|
|
282
|
+
args_def (str): The string containing argument definitions.
|
|
283
|
+
|
|
284
|
+
Returns:
|
|
285
|
+
bool: True if the pattern exists, False otherwise.
|
|
286
|
+
"""
|
|
287
|
+
basic_pattern = rf"^{re.escape(return_type_name)}\s="
|
|
288
|
+
basic_match = bool(re.search(basic_pattern, args_def, re.MULTILINE))
|
|
289
|
+
class_pattern = rf"^class {re.escape(return_type_name)}\(TypedDict"
|
|
290
|
+
class_match = bool(re.search(class_pattern, args_def, re.MULTILINE))
|
|
291
|
+
return basic_match or class_match
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: polyapi-python
|
|
3
|
-
Version: 0.3.3.
|
|
3
|
+
Version: 0.3.3.dev5
|
|
4
4
|
Summary: The Python Client for PolyAPI, the IPaaS by Developers for Developers
|
|
5
5
|
Author-email: Dan Fellin <dan@polyapi.io>
|
|
6
6
|
License: MIT License
|
|
@@ -193,6 +193,16 @@ When hacking on this library, please enable flake8 and add this line to your fla
|
|
|
193
193
|
--config=.flake8
|
|
194
194
|
```
|
|
195
195
|
|
|
196
|
+
## Mypy Type Improvements
|
|
197
|
+
|
|
198
|
+
This script is handy for checking for any mypy types:
|
|
199
|
+
|
|
200
|
+
```bash
|
|
201
|
+
./check_mypy.sh
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Please ignore \[name-defined\] errors for now. This is a known bug we are working to fix!
|
|
205
|
+
|
|
196
206
|
## Support
|
|
197
207
|
|
|
198
208
|
If you run into any issues or want help getting started with this project, please contact support@polyapi.io
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
polyapi/__init__.py,sha256=a1Poy1kaTncYnUg6nWRcTjVm-R1CUQk12UX7VYQ9d5k,616
|
|
2
2
|
polyapi/__main__.py,sha256=V4zhAh_YGxno5f_KSrlkELxcuDh9bR3WSd0n-2r-qQQ,93
|
|
3
|
-
polyapi/api.py,sha256=
|
|
3
|
+
polyapi/api.py,sha256=f1037HFJF7DtQSSypM4PE5AmmxWxjd0JiW6ARZqrgac,1879
|
|
4
4
|
polyapi/auth.py,sha256=zrIGatjba5GwUTNjKj1GHQWTEDP9B-HrSzCKbLFoqvc,5336
|
|
5
5
|
polyapi/cli.py,sha256=AKsWVHZPKGnypOdnzIpoZOsTuwcAuDGQajXhLe9OQKI,8239
|
|
6
6
|
polyapi/client.py,sha256=CoFDYvyKsqL4wPQbUDIr0Qb8Q5eD92xN4OEEcJEVuGQ,1296
|
|
@@ -11,21 +11,21 @@ polyapi/error_handler.py,sha256=I_e0iz6VM23FLVQWJljxs2NGcl_OODbi43OcbnqBlp8,2398
|
|
|
11
11
|
polyapi/exceptions.py,sha256=Zh7i7eCUhDuXEdUYjatkLFTeZkrx1BJ1P5ePgbJ9eIY,89
|
|
12
12
|
polyapi/execute.py,sha256=kXnvlNQ7nz9cRlV2_5gXH09UCmyiDP5zi3wiAw0uDuk,1943
|
|
13
13
|
polyapi/function_cli.py,sha256=htgmcx_dPmw4_5NKRgIivcwS7D8bkOsxCTOrJhzV3pU,3989
|
|
14
|
-
polyapi/generate.py,sha256=
|
|
15
|
-
polyapi/parser.py,sha256=
|
|
16
|
-
polyapi/poly_schemas.py,sha256=
|
|
14
|
+
polyapi/generate.py,sha256=IIbU4Kc8Ut-N3cPI1qzgV3M4r_GHi39dgU0ngpUY86Q,10473
|
|
15
|
+
polyapi/parser.py,sha256=eI_FnLY45m0d7caXyWfzrgw9Oh6JgpooJheorTQ4KDE,20264
|
|
16
|
+
polyapi/poly_schemas.py,sha256=vHHRUJUycYk4uKmjiWG6fpVQllaRw8yVUt4X_Hmoqk8,2921
|
|
17
17
|
polyapi/prepare.py,sha256=Q8CWV4kmZ2dbXYVsud34AgJkj5ymcQ_IcYhLuikc9yk,6659
|
|
18
18
|
polyapi/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
19
19
|
polyapi/rendered_spec.py,sha256=uaNzBhP4cX7iGfKwzZv0dxMagWzsGeDr0cQYx_AyIhQ,2153
|
|
20
|
-
polyapi/schema.py,sha256=
|
|
21
|
-
polyapi/server.py,sha256=
|
|
20
|
+
polyapi/schema.py,sha256=ZSzeUjpqigLvE4tFKB7y4AaZG-W5N5Z9wMH-F-vjMBU,4616
|
|
21
|
+
polyapi/server.py,sha256=YXWxhYBx-hluwDQ8Jvfpy2s8ogz0GsNTMcZVNcP5ca8,2147
|
|
22
22
|
polyapi/sync.py,sha256=PGdC0feBBjEVrF3d9EluW_OAxbWuzSrfh84czma8kWg,6476
|
|
23
23
|
polyapi/typedefs.py,sha256=KniVl7vwcDOhgAJmHSgTJKkP0rKWvSLIPOGsWuf9jRU,2239
|
|
24
|
-
polyapi/utils.py,sha256=
|
|
24
|
+
polyapi/utils.py,sha256=9OKwhte_YdnkDectgnjSkVmcxazd8FyfoiKCQtlD63o,10194
|
|
25
25
|
polyapi/variables.py,sha256=d36-trnfTL_8m2NkorMiImb4O3UrJbiFV38CHxV5i0A,4200
|
|
26
26
|
polyapi/webhook.py,sha256=LWv28c2MLz_OKBI_Nn7WR4C-gs1SWgbdXsoxIIf-9UI,4886
|
|
27
|
-
polyapi_python-0.3.3.
|
|
28
|
-
polyapi_python-0.3.3.
|
|
29
|
-
polyapi_python-0.3.3.
|
|
30
|
-
polyapi_python-0.3.3.
|
|
31
|
-
polyapi_python-0.3.3.
|
|
27
|
+
polyapi_python-0.3.3.dev5.dist-info/licenses/LICENSE,sha256=Hi0kDr56Dsy0uYIwNt4r9G7tI8x8miXRTlyvbeplCP8,1068
|
|
28
|
+
polyapi_python-0.3.3.dev5.dist-info/METADATA,sha256=zbtIdrk07PowN5ClzpSvR9qyOsHi3WW7NDSh0IBYaJI,5782
|
|
29
|
+
polyapi_python-0.3.3.dev5.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
|
|
30
|
+
polyapi_python-0.3.3.dev5.dist-info/top_level.txt,sha256=CEFllOnzowci_50RYJac-M54KD2IdAptFsayVVF_f04,8
|
|
31
|
+
polyapi_python-0.3.3.dev5.dist-info/RECORD,,
|
|
File without changes
|
{polyapi_python-0.3.3.dev4.dist-info → polyapi_python-0.3.3.dev5.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|