MSTR-Robotics-magerdaniel 0.3.7__tar.gz → 0.3.8__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.
Files changed (23) hide show
  1. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8/MSTR_Robotics_magerdaniel.egg-info}/PKG-INFO +1 -1
  2. {mstr_robotics_magerdaniel-0.3.7/MSTR_Robotics_magerdaniel.egg-info → mstr_robotics_magerdaniel-0.3.8}/PKG-INFO +1 -1
  3. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/read_out_prj_obj.py +7 -6
  4. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/report.py +2 -2
  5. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/setup.py +1 -1
  6. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/LICENSE +0 -0
  7. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/MANIFEST.in +0 -0
  8. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/SOURCES.txt +0 -0
  9. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/dependency_links.txt +0 -0
  10. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/requires.txt +0 -0
  11. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/MSTR_Robotics_magerdaniel.egg-info/top_level.txt +0 -0
  12. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/README.md +0 -0
  13. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/__init__.py +0 -0
  14. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_connectors.py +0 -0
  15. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_helper.py +0 -0
  16. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_lu_data.py +0 -0
  17. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/_mod_prj_obj.py +0 -0
  18. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/ai_openAi_faisst.py +0 -0
  19. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/dossier.py +0 -0
  20. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/mstr_classes.py +0 -0
  21. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/mstr_pandas.py +0 -0
  22. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/mstr_robotics/prepare_AI_data.py +0 -0
  23. {mstr_robotics_magerdaniel-0.3.7 → mstr_robotics_magerdaniel-0.3.8}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MSTR_Robotics_magerdaniel
3
- Version: 0.3.7
3
+ Version: 0.3.8
4
4
  Summary: MicroStrateg(P)ython
5
5
  Home-page: https://github.com/magerdaniel
6
6
  Author: Daniel Mager
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: MSTR_Robotics_magerdaniel
3
- Version: 0.3.7
3
+ Version: 0.3.8
4
4
  Summary: MicroStrateg(P)ython
5
5
  Home-page: https://github.com/magerdaniel
6
6
  Author: Daniel Mager
@@ -768,12 +768,13 @@ class read_report():
768
768
  filter_text=str(rep_def["dataSource"]["filter"]["text"])
769
769
  except:
770
770
  pass
771
- for u in rep_def["dataSource"]["dataTemplate"]['units']:
772
- if u["type"]=="metrics":
773
- try:
774
- report_limit_text=str(u["limit"]["text"])
775
- except:
776
- pass
771
+ if "dataTemplate" in rep_def["dataSource"].keys():
772
+ for u in rep_def["dataSource"]["dataTemplate"]['units']:
773
+ if u["type"]=="metrics":
774
+ try:
775
+ report_limit_text=str(u["limit"]["text"])
776
+ except:
777
+ pass
777
778
 
778
779
  rep_head_d=i_mstr_global.get_object_info_d(conn=conn,object_id=report_id,type="3")
779
780
  #rep_head_d.rename(columns={'id': 'report_id'}, inplace=True)
@@ -325,13 +325,13 @@ class prompts():
325
325
  if baseFormType in ["fixed_length_string","n_var_char","Char","varChar"]:
326
326
  exp_prp_data_type="Char"
327
327
 
328
- if baseFormType in ["integer","double","numeric","decimal"]:
328
+ if baseFormType in ["integer","double","numeric","decimal","int64","float"]:
329
329
  exp_prp_data_type="Numeric"
330
330
 
331
331
  if baseFormType in ["big_decimal","bigDecimal"]:
332
332
  exp_prp_data_type="BigDecimal"
333
333
 
334
- if baseFormType in ["time_stamp"]:
334
+ if baseFormType in ["time_stamp","date"]:
335
335
  exp_prp_data_type="DateTime"
336
336
 
337
337
  if exp_prp_data_type == "":
@@ -7,7 +7,7 @@ long_description = (this_directory / "README.md").read_text()
7
7
 
8
8
  setup(
9
9
  name="MSTR_Robotics_magerdaniel",
10
- version="0.3.07",
10
+ version="0.3.08",
11
11
  description="MicroStrateg(P)ython",
12
12
  author="Daniel Mager",
13
13
  author_email="danielmager@gmx.de",