ipulse-shared-core-ftredge 1.4.0__tar.gz → 1.6.0__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 (20) hide show
  1. {ipulse_shared_core_ftredge-1.4.0/src/ipulse_shared_core_ftredge.egg-info → ipulse_shared_core_ftredge-1.6.0}/PKG-INFO +1 -1
  2. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/setup.py +1 -1
  3. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/user_profile.py +4 -14
  4. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0/src/ipulse_shared_core_ftredge.egg-info}/PKG-INFO +1 -1
  5. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/LICENCE +0 -0
  6. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/README.md +0 -0
  7. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/pyproject.toml +0 -0
  8. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/setup.cfg +0 -0
  9. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/__init__.py +0 -0
  10. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/__init__.py +0 -0
  11. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/audit_log_firestore.py +0 -0
  12. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/organisation.py +0 -0
  13. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/pulse_enums.py +0 -0
  14. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/resource_catalog_item.py +0 -0
  15. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/user_auth.py +0 -0
  16. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge/models/user_profile_update.py +0 -0
  17. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge.egg-info/SOURCES.txt +0 -0
  18. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge.egg-info/dependency_links.txt +0 -0
  19. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/src/ipulse_shared_core_ftredge.egg-info/requires.txt +0 -0
  20. {ipulse_shared_core_ftredge-1.4.0 → ipulse_shared_core_ftredge-1.6.0}/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: 1.4.0
3
+ Version: 1.6.0
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='1.4.0',
5
+ version='1.6.0',
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=[
@@ -7,7 +7,7 @@ from . import pulse_enums as enums
7
7
  CLASS_VERSION = 2.1
8
8
  CLASS_VERSION_AUTHOR="Russlan Ramdowar;russlan@ftredge.com"
9
9
  CLASS_VERSION_DATE=datetime(2023, 12, 23, 17, 50)
10
- MODULE="core"
10
+ MODULE="shcre"
11
11
  CLASS_REF = "usrpf"
12
12
 
13
13
  class UserProfile(BaseModel):
@@ -31,7 +31,9 @@ class UserProfile(BaseModel):
31
31
  first_name: Optional[str] = None #User can Read and Edit
32
32
  last_name: Optional[str] = None #User can Read and Edit
33
33
  mobile: Optional[str] = None #User can Read and Edit
34
- groups_names: Optional[Set[str]] = None #User can Read only
34
+ groupes: Optional[Set[str]] = None #User can Read only
35
+ roles: Optional[Set[str]] = None #User can Read only
36
+ teams: Optional[Set[str]] = None #User can Read only
35
37
  policies_uids: Optional[Set[str]] = None #User can Read only
36
38
  subscription_plan_uid: Optional[str]=None #User can Read only
37
39
  insights_credits_updated_since_datetime: Optional[datetime]=None #User can Read only
@@ -39,18 +41,6 @@ class UserProfile(BaseModel):
39
41
  class Config:
40
42
  extra = "forbid"
41
43
 
42
- @root_validator(pre=True)
43
- def check_resr_classification(cls, values: Dict[Any, Any]):
44
- for field_name, field_value in values.items():
45
- if field_name in cls.model_fields:
46
- print(f"field_name : {field_name} , field_value : {field_value}")
47
- # field_info = cls.model_fields[field_name].field_info
48
- # resr_classification = field_info.extra.get("resr_classification")
49
- # if resr_classification and resr_classification not in enums.resource_classifications:
50
- # raise ValueError(f"Invalid resource_classification '{resr_classification}' for field '{field_name}'")
51
- return values
52
-
53
-
54
44
 
55
45
  # class User(BaseModel):
56
46
  # puid: str
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: ipulse_shared_core_ftredge
3
- Version: 1.4.0
3
+ Version: 1.6.0
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