kisa-utils 0.36.1__py3-none-any.whl → 0.36.2__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.
- kisa_utils/servers/flask.py +13 -7
- {kisa_utils-0.36.1.dist-info → kisa_utils-0.36.2.dist-info}/METADATA +1 -1
- {kisa_utils-0.36.1.dist-info → kisa_utils-0.36.2.dist-info}/RECORD +5 -5
- {kisa_utils-0.36.1.dist-info → kisa_utils-0.36.2.dist-info}/WHEEL +0 -0
- {kisa_utils-0.36.1.dist-info → kisa_utils-0.36.2.dist-info}/top_level.txt +0 -0
kisa_utils/servers/flask.py
CHANGED
|
@@ -653,13 +653,19 @@ def generate_html(data):
|
|
|
653
653
|
|
|
654
654
|
def getSourceMap():
|
|
655
655
|
data = getEndpoints()
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
656
|
+
endpointsMap = {}
|
|
657
|
+
# basePath = ''
|
|
658
|
+
|
|
659
|
+
for group in data.keys():
|
|
660
|
+
items = data[group]
|
|
661
|
+
for endpoint in items.keys():
|
|
662
|
+
endpointsMap[endpoint] = items[endpoint]['path']
|
|
663
|
+
# string = f"{endpoint} ===> {items[endpoint]['path']}\n"
|
|
664
|
+
# fwrite.write(string)
|
|
665
|
+
|
|
666
|
+
with open('sourcemap.txt', 'w') as fout:
|
|
667
|
+
for endpoint in sorted(endpointsMap.keys()):
|
|
668
|
+
fout.write(f'{endpoint} -> {endpointsMap[endpoint]}\n')
|
|
663
669
|
|
|
664
670
|
def conform_dict(data: Dict[str, Any], structure: Dict[str, Any]) -> Response:
|
|
665
671
|
"""
|
|
@@ -19,11 +19,11 @@ kisa_utils/token.py,sha256=ReCIBsq95RMYCrDCyHgU1y_Eq-xp_PBpZiHxwsY6Fj4,8015
|
|
|
19
19
|
kisa_utils/permissions/__config__.py,sha256=i3ELkOydDnjKx2ozQTxLZdZ8DXSeUncnl2kRxANjFmM,613
|
|
20
20
|
kisa_utils/permissions/__init__.py,sha256=k7WbNlE8i9Vyf_SdbXbTh8D3gt4obDe3f8rONVVmNH4,36291
|
|
21
21
|
kisa_utils/servers/__init__.py,sha256=lPqDyGTrFo0qwPZ2WA9Xtcpc5D8AIU4huqgFx1iZf68,19
|
|
22
|
-
kisa_utils/servers/flask.py,sha256=
|
|
22
|
+
kisa_utils/servers/flask.py,sha256=0ZepldfHCQ403L_bWuWhXSTHEmiPTxLAhAKYniS-tKY,27952
|
|
23
23
|
kisa_utils/structures/__init__.py,sha256=JBU1j3A42jQ62ALKnsS1Hav9YXcYwjDw1wQJtohXPbU,83
|
|
24
24
|
kisa_utils/structures/utils.py,sha256=doZnnrKT5qGWZIOhXqBnD7mBBc7r-lhwcfpRKcK95Is,2237
|
|
25
25
|
kisa_utils/structures/validator.py,sha256=2cKaVuY6ia6-pt6o73A6L11qInDz_tygFZdsbZU-RbA,3328
|
|
26
|
-
kisa_utils-0.36.
|
|
27
|
-
kisa_utils-0.36.
|
|
28
|
-
kisa_utils-0.36.
|
|
29
|
-
kisa_utils-0.36.
|
|
26
|
+
kisa_utils-0.36.2.dist-info/METADATA,sha256=VbYnHxGxowvIc6O_rRFpvaVQYhCpovoEc_-mTi9jAiA,477
|
|
27
|
+
kisa_utils-0.36.2.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
28
|
+
kisa_utils-0.36.2.dist-info/top_level.txt,sha256=URxY4sRuqmirOxWtztpVmPoGQdksEMYO6hmYsEDGz2Y,75
|
|
29
|
+
kisa_utils-0.36.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|