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.
@@ -653,13 +653,19 @@ def generate_html(data):
653
653
 
654
654
  def getSourceMap():
655
655
  data = getEndpoints()
656
- with open('sourcemap.txt', 'w') as fwrite:
657
- for group in sorted(data.keys()):
658
- items = data[group]
659
- for endpoint in sorted(items.keys()):
660
- string = f"{endpoint} ===> {items[endpoint]['path']}\n"
661
- fwrite.write(string)
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
  """
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kisa-utils
3
- Version: 0.36.1
3
+ Version: 0.36.2
4
4
  Summary: Utility functions and modules for KISA Developers
5
5
  Author: Tom Bukenya
6
6
  Author-email: glayn2bukman@gmail.com
@@ -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=2C1kiv1DsRpZj2D3dqbVX1n8s9BJ0voateXRsIbQZs4,27761
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.1.dist-info/METADATA,sha256=eeDwCluA7ifOu34-9eOXxJo_A-hM7vhfCCzkhgfuwmo,477
27
- kisa_utils-0.36.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
28
- kisa_utils-0.36.1.dist-info/top_level.txt,sha256=URxY4sRuqmirOxWtztpVmPoGQdksEMYO6hmYsEDGz2Y,75
29
- kisa_utils-0.36.1.dist-info/RECORD,,
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,,