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

@@ -1,28 +1,27 @@
1
- ipulse_shared_core_ftredge/__init__.py,sha256=de2eimsGfmxEfEH-wvs2bvuB1sY94hFDvXzhK_IcWQk,452
1
+ ipulse_shared_core_ftredge/__init__.py,sha256=Hq78Uo7vzYi8S0emftXjJ5SUZXzxsqKjLAf8Lr79b0I,474
2
2
  ipulse_shared_core_ftredge/dependencies/__init__.py,sha256=HGsR8HUguKTfjz_BorCILS4izX8CAjG-apE0kIPE0Yo,68
3
3
  ipulse_shared_core_ftredge/dependencies/auth_firebase_token_validation.py,sha256=EFWyhoVOI0tGYOWqN5St4JNIy4cMwpxeBhKdjOwEfbg,1888
4
4
  ipulse_shared_core_ftredge/dependencies/auth_protected_router.py,sha256=em5D5tE7OkgZmuCtYCKuUAnIZCgRJhCF8Ye5QmtGWlk,1807
5
- ipulse_shared_core_ftredge/dependencies/authz_for_apis.py,sha256=A_J1NXFbuxtDatRPNKj1xT5JB_vQ5q0i-1p-iBEfT4U,10296
6
- ipulse_shared_core_ftredge/dependencies/firestore_client.py,sha256=CC5p625aC0cjqpWYsz-liyH26a7MfOZS1p0PQq15pgg,714
7
- ipulse_shared_core_ftredge/models/__init__.py,sha256=-WNETfnu2vClk2dHOc1vEqvmRp_zDod0Z0Jy8X54VvA,322
5
+ ipulse_shared_core_ftredge/dependencies/authz_for_apis.py,sha256=UqP8mW1XreCrIKAFSoDpLka4gruT0kNa0ynH08wk7mE,10578
6
+ ipulse_shared_core_ftredge/dependencies/firestore_client.py,sha256=VbTb121nsc9EZPd1RDEsHBLW5pIiVw6Wdo2JFL4afMg,714
7
+ ipulse_shared_core_ftredge/models/__init__.py,sha256=cf2P65BXRQoOrcuvlbmT6yW50U7wyj8ZNvHTuTvlETo,344
8
8
  ipulse_shared_core_ftredge/models/base_api_response.py,sha256=nH2xhofRzizayod0IuYma8WilFQ_Qgt-fFSU2XugJjA,1049
9
- ipulse_shared_core_ftredge/models/base_data_model.py,sha256=zUAU4B4PAh83vrmcl5AV5B0Twg8BA9sOKlx65UWknYk,1392
10
- ipulse_shared_core_ftredge/models/organization_profile.py,sha256=yTGhnj3Wx0N81k51f1ly2ejpsZ7833tIaPXfTdjyXS8,3614
11
- ipulse_shared_core_ftredge/models/resource_catalog_item.py,sha256=8d6SPwW5dM6gvwuZ_v0zrubwEDutv4DcFna3vYJIRtA,4964
12
- ipulse_shared_core_ftredge/models/subscription.py,sha256=pd8YQ_i5imhi8T6j2R0ZlmYIZcGOTA-sd3Cl23-jwQQ,2118
9
+ ipulse_shared_core_ftredge/models/base_data_model.py,sha256=SMyU794JFUJz04q6dZYvkT36DMl1GX0audJoN7igHM0,1450
10
+ ipulse_shared_core_ftredge/models/organization_profile.py,sha256=OnjsSVcp_LSB65F9Tl9udwNgqMg7gjSpv38eArpVXPc,3668
11
+ ipulse_shared_core_ftredge/models/subscription.py,sha256=HUbODMv18zdGC6qqNBEUpXfTN7wO2UnSiFXZlcl5TJM,6789
13
12
  ipulse_shared_core_ftredge/models/user_auth.py,sha256=YgCeK0uJ-JOkPavwzogl4wGC3RpA8PVfl-5MPS4Kxhk,432
14
- ipulse_shared_core_ftredge/models/user_profile.py,sha256=lHDRLIIMq-79NLCFStAk1CayQor3i2yaAjNZOPr69qE,3064
13
+ ipulse_shared_core_ftredge/models/user_profile.py,sha256=-q6eDOUxTQJO_wc6GH6RyVxhg8wGIElbqXTa1NL-hb4,4143
15
14
  ipulse_shared_core_ftredge/models/user_profile_update.py,sha256=3BqAAqnVKXPKhAcfV_aOERe8GyIkX0NU_LJcQa02aLw,1319
16
- ipulse_shared_core_ftredge/models/user_status.py,sha256=J9XTxssWR0qvDwet1LCxH_OXK5wkHwJT4yYCaqfkD2k,3929
15
+ ipulse_shared_core_ftredge/models/user_status.py,sha256=-W4FAG4EPLOh8bGyCk4C-NEUlrUP8CDE0eQXwOsCk3c,23214
17
16
  ipulse_shared_core_ftredge/services/__init__.py,sha256=Ji9AhDy1HVwcJjYMdyfggerxa0b8e78JAnCQ-o-_sSA,304
18
- ipulse_shared_core_ftredge/services/base_firestore_service.py,sha256=1sKWqRApz8i0wBqxq01vV5Ee0sHJxc-qZ6-IKck5_8o,6579
17
+ ipulse_shared_core_ftredge/services/base_firestore_service.py,sha256=VtJ7iffCFR4hpGHf987fH0LiprPtHWAb7KlYsARZ0Ik,6570
19
18
  ipulse_shared_core_ftredge/services/base_service_exceptions.py,sha256=Bi0neeMY0YncWDeqUavu5JUslkjJ6QcDVRU32Ipjc08,4294
20
19
  ipulse_shared_core_ftredge/services/fastapiservicemon.py,sha256=27clTZXH32mbju8o-HLO_8VrmugmpXwHLuX-OOoIAew,5308
21
20
  ipulse_shared_core_ftredge/services/servicemon.py,sha256=wWhsLwU1_07emaEyCNziZA1bDQVLxcfvQj0OseTLSTI,7969
22
21
  ipulse_shared_core_ftredge/utils/__init__.py,sha256=TeiidwpuZ2YTVOYBd2kUS2iG6UxZcV99Do38enLL2RU,43
23
22
  ipulse_shared_core_ftredge/utils/json_encoder.py,sha256=gBX6npueUyeOq1BSLs6s0SpqsCwelzJKxUOUzHnNZmE,540
24
- ipulse_shared_core_ftredge-7.1.1.dist-info/LICENCE,sha256=YBtYAXNqCCOo9Mr2hfkbSPAM9CeAr2j1VZBSwQTrNwE,1060
25
- ipulse_shared_core_ftredge-7.1.1.dist-info/METADATA,sha256=qsFRZ-GYnAmylhg4p2JKbumYjHAzH92qYbmV0gZXNxc,780
26
- ipulse_shared_core_ftredge-7.1.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
27
- ipulse_shared_core_ftredge-7.1.1.dist-info/top_level.txt,sha256=8sgYrptpexkA_6_HyGvho26cVFH9kmtGvaK8tHbsGHk,27
28
- ipulse_shared_core_ftredge-7.1.1.dist-info/RECORD,,
23
+ ipulse_shared_core_ftredge-8.1.1.dist-info/licenses/LICENCE,sha256=YBtYAXNqCCOo9Mr2hfkbSPAM9CeAr2j1VZBSwQTrNwE,1060
24
+ ipulse_shared_core_ftredge-8.1.1.dist-info/METADATA,sha256=vCb73O_7ymJ6sWpS_GZIflcki3NwXZr-OydKxl4rp10,802
25
+ ipulse_shared_core_ftredge-8.1.1.dist-info/WHEEL,sha256=7ciDxtlje1X8OhobNuGgi1t-ACdFSelPnSmDPrtlobY,91
26
+ ipulse_shared_core_ftredge-8.1.1.dist-info/top_level.txt,sha256=8sgYrptpexkA_6_HyGvho26cVFH9kmtGvaK8tHbsGHk,27
27
+ ipulse_shared_core_ftredge-8.1.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (76.0.0)
2
+ Generator: setuptools (80.2.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,115 +0,0 @@
1
- # import uuid
2
- # from datetime import datetime
3
- # from pydantic import BaseModel, validator, ValidationError
4
- # from typing import Dict, Any, Set, Optional
5
-
6
- # import dateutil.parser
7
-
8
- # CLASS_VERSION = 1.0
9
- # CLASS_REF = "resdes"
10
- # MODULE = "core"
11
-
12
- # class ResourceCatalogItem(BaseModel):
13
-
14
- # resr_puid_or_name: str #Ex: username
15
- # resr_path: str #Ex: ipulse-401013/cloud/firesotre/Users/{user_uid}/username
16
- # resr_name: str #Ex: username
17
- # resr_pulse_module: str #Ex: core
18
- # resr_type: str
19
- # resr_classifications: Set[str]
20
- # resr_contents:Set[str]
21
- # resr_original_or_processed: str
22
- # resr_origin: str
23
- # resr_origin_organizations_uids: Set[str]
24
- # resr_origin_description: str
25
- # resr_licences_types: Set[str]
26
- # resr_description_details: str
27
- # resr_updtbl_by_non_staff: bool
28
- # resr_creat_by_user_uid: str
29
- # resr_creat_date: datetime
30
- # class_version:float = CLASS_VERSION
31
- # resr_columns_count: int
32
- # resr_columns: Optional[Dict[Any, Any]] = None #OPTIONAL
33
- # resr_structure_version: Optional[str]=None # OPTIONAL
34
- # resr_structure_updt_date: Optional[str]=None #OPTIONAL
35
- # resr_structure_updt_by_user_uid: Optional[str]=None # OPTIONAL
36
- # resr_tags: Optional[Dict[Any, Any]] = None #OPTIONAL
37
- # resr_content_updt_date: Optional[str]=None #OPTIONAL
38
- # resr_content_updt_by_user_uid: Optional[str]=None # OPTIONAL
39
- # puid: Optional[str] = None #TO BE SETUP BY Validator
40
- # metadata_version: Optional[float] = None #TO BE SETUP BY Validator
41
- # metadata_creat_date: Optional[datetime] = None #TO BE SETUP BY Management Service
42
- # metadata_creat_by: Optional[str] = None #TO BE SETUP BY Management Service
43
- # metadata_updt_date: Optional[datetime] = None #TO BE SETUP BY Management Service
44
- # metadata_updt_by: Optional[str] = None #TO BE SETUP BY Management Service
45
-
46
- # @validator('puid', pre=True, always=True)
47
- # def set_puid(cls, puid, values):
48
- # if puid is None:
49
- # return f"{datetime.utcnow().strftime('%Y%m%d%H%M')}{uuid.uuid4().hex[:8]}_{MODULE}{CLASS_REF}".lower()
50
- # return puid
51
-
52
- # @validator('metadata_version', pre=True, always=True)
53
- # def set_metadata_version(cls, metadata_version, values):
54
- # if metadata_version is None:
55
- # return 1.0
56
- # else:
57
- # return metadata_version + 0.1
58
-
59
-
60
- # @validator('resr_pulse_module', pre=True, always=True)
61
- # def validate_resr_pulse_module(cls, resr_pulse_modules):
62
- # if resr_pulse_modules not in enums.pulse_modules:
63
- # raise ValueError("Invalid pulse_modules values provided.")
64
- # return resr_pulse_modules
65
-
66
- # @validator('resr_type', pre=True, always=True)
67
- # def validate_resr_type(cls, resr_type):
68
- # if resr_type not in enums.resource_types:
69
- # raise ValueError("Invalid resource_types value provided.")
70
- # return resr_type
71
-
72
- # @validator('resr_classifications', pre=True, always=True)
73
- # def validate_resr_classifications(cls, resr_classifications):
74
- # if not resr_classifications.issubset(enums.resource_classifications):
75
- # raise ValueError("Invalid resr_classifications values provided.")
76
- # return resr_classifications
77
-
78
- # @validator('resr_contents', pre=True, always=True)
79
- # def validate_resr_contents(cls, resr_contents):
80
- # if not resr_contents.issubset(enums.resource_contents):
81
- # raise ValueError("Invalid resr_contents values provided.")
82
- # return resr_contents
83
-
84
- # @validator('resr_original_or_processed', pre=True, always=True)
85
- # def validate_resr_original_or_processed(cls, resr_original_or_processed):
86
- # if resr_original_or_processed not in enums.resource_original_or_processed:
87
- # raise ValueError("Invalid resr_original_or_processed value provided.")
88
- # return resr_original_or_processed
89
-
90
- # @validator('resr_origin', pre=True, always=True)
91
- # def validate_resr_origin(cls, resr_origin):
92
- # if resr_origin not in enums.resource_origins:
93
- # raise ValueError("Invalid resource_origins value provided.")
94
- # return resr_origin
95
-
96
-
97
- # @validator('metadata_creat_date', 'metadata_updt_date', pre=True)
98
- # def parse_date(cls, value):
99
- # if value is None:
100
- # return value
101
- # if isinstance(value, datetime):
102
- # return value
103
- # try:
104
- # # Assuming Firestore returns an ISO 8601 string, adjust if necessary
105
- # return dateutil.parser.isoparse(value)
106
- # except (TypeError, ValueError):
107
- # raise ValidationError(f"Invalid datetime format inside Resource Description: {value}")
108
-
109
-
110
-
111
- # @validator('metadata_updt_date', 'metadata_updt_date', pre=True, always=True)
112
- # def set_default_updt_date(cls, date, values):
113
- # if date is None:
114
- # return datetime.utcnow().isoformat()
115
- # return date