ipulse-shared-core-ftredge 2.10__tar.gz → 2.12__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.

Potentially problematic release.


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

Files changed (23) hide show
  1. {ipulse_shared_core_ftredge-2.10/src/ipulse_shared_core_ftredge.egg-info → ipulse_shared_core_ftredge-2.12}/PKG-INFO +1 -1
  2. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/setup.py +1 -1
  3. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/user_profile.py +0 -2
  4. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/user_status.py +4 -3
  5. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12/src/ipulse_shared_core_ftredge.egg-info}/PKG-INFO +1 -1
  6. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/LICENCE +0 -0
  7. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/README.md +0 -0
  8. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/pyproject.toml +0 -0
  9. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/setup.cfg +0 -0
  10. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/__init__.py +0 -0
  11. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/__init__.py +0 -0
  12. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/audit_log_firestore.py +0 -0
  13. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/organisation.py +0 -0
  14. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/pulse_enums.py +0 -0
  15. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/resource_catalog_item.py +0 -0
  16. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/user_auth.py +0 -0
  17. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/models/user_profile_update.py +0 -0
  18. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/tests/__init__.py +0 -0
  19. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge/tests/test.py +0 -0
  20. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge.egg-info/SOURCES.txt +0 -0
  21. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge.egg-info/dependency_links.txt +0 -0
  22. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge.egg-info/requires.txt +0 -0
  23. {ipulse_shared_core_ftredge-2.10 → ipulse_shared_core_ftredge-2.12}/src/ipulse_shared_core_ftredge.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipulse_shared_core_ftredge
3
- Version: 2.10
3
+ Version: 2.12
4
4
  Summary: Shared models 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
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name='ipulse_shared_core_ftredge',
5
- version='2.10',
5
+ version='2.12',
6
6
  package_dir={'': 'src'}, # Specify the source directory
7
7
  packages=find_packages(where='src'), # Look for packages in 'src'
8
8
  install_requires=[
@@ -15,8 +15,6 @@ CLASS_REVISION_DATE=datetime(2024, 2, 13, 20, 15)
15
15
  DOMAIN="user"
16
16
  OBJ_REF = "usprfl"
17
17
 
18
-
19
-
20
18
  class UserProfile(BaseModel):
21
19
  schema_version: float = Field(default=CLASS_VERSION, description="Version of this Class == version of DB Schema") #User can Read only
22
20
  # uid: str = Field(frozen=True, description="Combination of user_usrprof_<Firebase Auth UID>") #User can Read only ---> STORED as Firestore Doc ID
@@ -1,7 +1,8 @@
1
1
  from pydantic import BaseModel, Field
2
+
2
3
  from datetime import datetime
3
4
  from dateutil.relativedelta import relativedelta
4
- from typing import Set, Optional
5
+ from typing import Set, Optional, Dict, List
5
6
  # import uuid
6
7
 
7
8
 
@@ -29,14 +30,14 @@ class UserStatus(BaseModel):
29
30
  # frozen=True,
30
31
  # description="Generated Automatically by default_factory") #User can Read only
31
32
 
32
- iam_groups: Set[str] = Field(default_factory=lambda:DEFAULT_IAM_GROUPS, description="User's Groups, with a default one for all authenticated Pulse users") #User can Read only
33
+ iam_groups: Dict[str, List[str]] = Field(default_factory=lambda:DEFAULT_IAM_GROUPS, description="User's Groups, with a default one for all authenticated Pulse users") #User can Read only
33
34
  sbscrptn_plan: str=Field(default_factory=lambda:DEFAULT_SUBSCRIPTION_PLAN, description="Subscription Plan ") #User can Read only
34
35
  sbscrptn_status: str=Field(default_factory=lambda:DEFAULT_SUBSCRIPTION_STATUS, description="Subscription Status") #User can Read only
35
36
  sbscrptn_start_date: datetime=Field(default_factory=lambda:datetime.utcnow(), description="Subscription Start Date") #User can Read only
36
37
  sbscrptn_end_date: datetime=Field(default_factory=lambda:datetime.utcnow()+relativedelta(years=1) , description="Subscription End Date") #User can Read only
37
38
  sbscrptn_insight_credits: int= Field(default_factory=lambda:DEFAULT_SUBSCRIPTION_INSIGHT_CREDITS, description="Depends on Subscription Plan, Set Amount udated at Regular Intervals or at Regular Time") #User can Read only
38
39
  sbscrptn_ins_crdts_updtd_since_datetime: datetime=Field(default_factory=lambda:datetime.utcnow(), description="Subscription Start Date") #User can Read only #User can Read only #User can Read only
39
- extra_insigth_credits: int= Field(default_factory=lambda:DEFAULT_EXTRA_INSIGHT_CREDITS, description="If user purchased extra Insigth Credits they shouldn't Expire") #User can Read only
40
+ extra_insight_credits: int= Field(default_factory=lambda:DEFAULT_EXTRA_INSIGHT_CREDITS, description="If user purchased extra Insigth Credits they shouldn't Expire") #User can Read only
40
41
  payment_refs_uids: Optional[Set[str]] = None #User can Read only
41
42
 
42
43
  creat_date: datetime #User can Read only
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipulse_shared_core_ftredge
3
- Version: 2.10
3
+ Version: 2.12
4
4
  Summary: Shared models 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