gcp-platforms-auto 0.7.8__py3-none-any.whl → 0.8.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.
@@ -16,4 +16,6 @@ from .db import (
16
16
  from .iam import (
17
17
  check_user_has_role_in_project,
18
18
  get_projects_with_role
19
- )
19
+ )
20
+
21
+ from .models import RequesterModel
gcp_platforms_auto/iam.py CHANGED
@@ -43,7 +43,7 @@ def check_user_has_role_in_project(
43
43
 
44
44
  Args:
45
45
  user_email: Email of the user or service account to check
46
- (e.g., 'oshasha10@dev.sky320.com' or 'my-sa@project.iam.gserviceaccount.com')
46
+ (e.g., 'oshasha10@gcporg.com' or 'my-sa@project.iam.gserviceaccount.com')
47
47
  role: Role to check (e.g., 'roles/owner', 'roles/editor')
48
48
  project_id: GCP project ID (e.g., 'sky-starfi-mam-res-gcpro-1')
49
49
  organization_id: GCP organization ID (e.g., '111111111111')
@@ -54,7 +54,7 @@ def check_user_has_role_in_project(
54
54
 
55
55
  Example:
56
56
  >>> has_access = check_user_has_role_in_project(
57
- ... user_email='oshasha10@dev.sky320.com',
57
+ ... user_email='oshasha10@gcporg.com',
58
58
  ... role='roles/owner',
59
59
  ... project_id='sky-starfi-mam-res-gcpro-1',
60
60
  ... )
@@ -150,7 +150,7 @@ def get_projects_with_role(
150
150
 
151
151
  Args:
152
152
  user_email: Email of the user or service account to check
153
- (e.g., 'oshasha10@dev.sky320.com' or 'my-sa@project.iam.gserviceaccount.com')
153
+ (e.g., 'oshasha10@gcporg.com' or 'my-sa@project.iam.gserviceaccount.com')
154
154
  organization_id: GCP organization ID (e.g., '111111111111')
155
155
  role: Role to check (e.g., 'roles/owner', 'roles/editor')
156
156
  expand_groups: Whether to expand group memberships (default: True)
@@ -160,7 +160,7 @@ def get_projects_with_role(
160
160
 
161
161
  Example:
162
162
  >>> projects = get_projects_with_role(
163
- ... user_email='oshasha10@dev.sky320.com',
163
+ ... user_email='oshasha10@gcporg.com',
164
164
  ... organization_id='111111111111',
165
165
  ... role='roles/owner'
166
166
  ... )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gcp_platforms_auto
3
- Version: 0.7.8
3
+ Version: 0.8.1
4
4
  Summary: A brief description of your package
5
5
  Author-email: ofir4858 <ofirshasha10@gmail.com>
6
6
  License: MIT
@@ -0,0 +1,9 @@
1
+ gcp_platforms_auto/__init__.py,sha256=MhphRLBFhpZSik83woVgJi3NpyGjBRZ4RyOcXu8dqAk,443
2
+ gcp_platforms_auto/db.py,sha256=jE5nwmqVHcxT4m6-meUgUz4V4DM8M_sMmeTpvKr2Z2Y,8768
3
+ gcp_platforms_auto/git.py,sha256=NnLDfRzzrzbm9yekepc-qgu8ejYmjNxQ4VDlW46gG2o,5508
4
+ gcp_platforms_auto/iam.py,sha256=BFf4LitUXzHrDETZHO_sf2zw6XGrR9a_Vg-TBIqE77k,7671
5
+ gcp_platforms_auto/models.py,sha256=ETU5bt6Ge_ZKJ8sOCCM9kb5cJNb1GyXBgfgi0H_1OAo,869
6
+ gcp_platforms_auto-0.8.1.dist-info/METADATA,sha256=rHj94bdQ53vCBF673UeJfl9X0CrxOAjEcovoeoreDTA,645
7
+ gcp_platforms_auto-0.8.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
+ gcp_platforms_auto-0.8.1.dist-info/top_level.txt,sha256=4q-ofPMmvBaTnIbAzs-Wp_OwheAVxxmJ1fW9vl3-kyE,19
9
+ gcp_platforms_auto-0.8.1.dist-info/RECORD,,
@@ -1,9 +0,0 @@
1
- gcp_platforms_auto/__init__.py,sha256=lxzogGyaV44AUl6WVElBOZNlr_gpWLvppZew7QDr1pw,407
2
- gcp_platforms_auto/db.py,sha256=jE5nwmqVHcxT4m6-meUgUz4V4DM8M_sMmeTpvKr2Z2Y,8768
3
- gcp_platforms_auto/git.py,sha256=NnLDfRzzrzbm9yekepc-qgu8ejYmjNxQ4VDlW46gG2o,5508
4
- gcp_platforms_auto/iam.py,sha256=zMABOcwhPTCEpwQd1Atm5ccd3-6jOLHPSDJUDq9YuFE,7687
5
- gcp_platforms_auto/models.py,sha256=ETU5bt6Ge_ZKJ8sOCCM9kb5cJNb1GyXBgfgi0H_1OAo,869
6
- gcp_platforms_auto-0.7.8.dist-info/METADATA,sha256=hyus_I5wDNQqCQYHIm90wyGX7XxohnF3Z_m2Ib3vDdY,645
7
- gcp_platforms_auto-0.7.8.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
8
- gcp_platforms_auto-0.7.8.dist-info/top_level.txt,sha256=4q-ofPMmvBaTnIbAzs-Wp_OwheAVxxmJ1fW9vl3-kyE,19
9
- gcp_platforms_auto-0.7.8.dist-info/RECORD,,