Skip to content

Commit 7991df5

Browse files
committed
Replace types string with str.
Uses command: ag -l 'type ([^:]+): string' | \ xargs gsed -r -i.bak -e 's/type ([^:]+): string/type \1: str/g' Note: [-r for gsed (GNU sed) is needed for group matching](http://superuser.com/a/336819/125262).
1 parent a001cc1 commit 7991df5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/google-cloud-resource-manager/google/cloud/resource_manager/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def new_project(self, project_id, name=None, labels=None):
6363
:type project_id: str
6464
:param project_id: The ID for this project.
6565
66-
:type name: string
66+
:type name: str
6767
:param name: The display name of the project.
6868
6969
:type labels: dict

packages/google-cloud-resource-manager/google/cloud/resource_manager/project.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ class Project(object):
3939
See:
4040
https://cloud.google.com/resource-manager/reference/rest/v1beta1/projects
4141
42-
:type project_id: string
42+
:type project_id: str
4343
:param project_id: The globally unique ID of the project.
4444
4545
:type client: :class:`google.cloud.resource_manager.client.Client`
4646
:param client: The Client used with this project.
4747
48-
:type name: string
48+
:type name: str
4949
:param name: The display name of the project.
5050
5151
:type labels: dict

0 commit comments

Comments
 (0)