ipulse-shared-core-ftredge 2.16__py3-none-any.whl → 2.17__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.

Potentially problematic release.


This version of ipulse-shared-core-ftredge might be problematic. Click here for more details.

@@ -21,6 +21,8 @@ from google.cloud import error_reporting, logging as cloud_logging
21
21
  ##### THIS APPROACH IS USED NOW ########
22
22
  ## TODO Fix the issue with POST 0B Nan.... printed in Cloud Logging , which is referring to posting to Cloud Logging probably.
23
23
 
24
+ ENV = os.getenv('ENV', 'LOCAL').strip("'")
25
+
24
26
  def setup_logger(logger_name):
25
27
  """Sets up a logger with Error Reporting and Cloud Logging handlers.
26
28
 
@@ -65,7 +67,7 @@ def setup_logger(logger_name):
65
67
  logger.addHandler(cloud_logging_handler)
66
68
 
67
69
  # Add a console handler for local development
68
- if os.environ.get("ENV") == "LOCAL":
70
+ if ENV == "LOCAL":
69
71
  formatter = logging.Formatter('%(levelname)s : %(name)s : %(asctime)s : %(message)s')
70
72
  console_handler = logging.StreamHandler()
71
73
  console_handler.setFormatter(formatter)
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipulse_shared_core_ftredge
3
- Version: 2.16
4
- Summary: Shared models for the Pulse platform project. Using AI for financial advisory and investment management.
3
+ Version: 2.17
4
+ Summary: Shared Core models and Logger util for the Pulse platform project. Using AI for financial advisory and investment management.
5
5
  Home-page: https://github.com/TheFutureEdge/ipulse_shared_core
6
6
  Author: Russlan Ramdowar
7
7
  License-File: LICENCE
@@ -1,5 +1,5 @@
1
1
  ipulse_shared_core_ftredge/__init__.py,sha256=gZ2QIubXOdzhGe4Jd3Vwx8NrULkn4Is6uVZ2ThEvrpE,104
2
- ipulse_shared_core_ftredge/gcp_logger.py,sha256=aGp-wRiTZY2xBTHO3FAc-7WmifpKtPhOJ-9QX_dOAm0,2822
2
+ ipulse_shared_core_ftredge/gcp_logger.py,sha256=6MYVj6BJh49fVe86rWUGHTP9NZXBoYeGjiDVplezxrQ,2848
3
3
  ipulse_shared_core_ftredge/models/__init__.py,sha256=gE22Gzhil0RYQa7YLtdtT44_AsWqklcDfRtgLAQc1dI,200
4
4
  ipulse_shared_core_ftredge/models/audit_log_firestore.py,sha256=5AwO6NHuOncq65n400eqM8QPrS2EGGaP3Z_6l2rxdBE,261
5
5
  ipulse_shared_core_ftredge/models/organisation.py,sha256=4f1ATEWh5WT-CDJBLEZUhUwyl3V06ogRkteZAqW_nko,2953
@@ -11,8 +11,8 @@ ipulse_shared_core_ftredge/models/user_profile_update.py,sha256=oKK0XsQDKkgDvjFP
11
11
  ipulse_shared_core_ftredge/models/user_status.py,sha256=8TyRd8tBK9_xb0MPKbI5pn9-lX7ovKbeiuWYYPtIOiw,3202
12
12
  ipulse_shared_core_ftredge/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
13
13
  ipulse_shared_core_ftredge/tests/test.py,sha256=0lS8HP5Quo_BqNoscU40qOH9aJRaa1Pfam5VUBmdld8,682
14
- ipulse_shared_core_ftredge-2.16.dist-info/LICENCE,sha256=YBtYAXNqCCOo9Mr2hfkbSPAM9CeAr2j1VZBSwQTrNwE,1060
15
- ipulse_shared_core_ftredge-2.16.dist-info/METADATA,sha256=Hnsaa6XLNwVMwY_jlNGmY2ZvugQ6yUJ8ECQKYNxA27M,494
16
- ipulse_shared_core_ftredge-2.16.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
17
- ipulse_shared_core_ftredge-2.16.dist-info/top_level.txt,sha256=8sgYrptpexkA_6_HyGvho26cVFH9kmtGvaK8tHbsGHk,27
18
- ipulse_shared_core_ftredge-2.16.dist-info/RECORD,,
14
+ ipulse_shared_core_ftredge-2.17.dist-info/LICENCE,sha256=YBtYAXNqCCOo9Mr2hfkbSPAM9CeAr2j1VZBSwQTrNwE,1060
15
+ ipulse_shared_core_ftredge-2.17.dist-info/METADATA,sha256=mojAlOSd-SdoRKGEsXBx8dCyzyE3Np4ZlrtQpcY05kc,515
16
+ ipulse_shared_core_ftredge-2.17.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
17
+ ipulse_shared_core_ftredge-2.17.dist-info/top_level.txt,sha256=8sgYrptpexkA_6_HyGvho26cVFH9kmtGvaK8tHbsGHk,27
18
+ ipulse_shared_core_ftredge-2.17.dist-info/RECORD,,