GeezerVison is showing github.com — fix: blacken on library, test files (#135) · googleapis/python-aiplatform@53cdbab
File treeExpand file treeCollapse file tree Open diff view settings google/cloud/aiplatform_v1beta1/services dataset_service/transports endpoint_service/transports migration_service/transports pipeline_service/transports prediction_service/transports specialist_pool_service/transports
Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/transports/base.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -74,10 +74,10 @@ def __init__( | 74 | 74 | scope (Optional[Sequence[str]]): A list of scopes. | 75 | 75 | quota_project_id (Optional[str]): An optional project to use for billing | 76 | 76 | and quota. | 77 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 78 | | - The client info used to send a user-agent string along with | 79 | | - API requests. If ``None``, then default info will be used. | 80 | | - Generally, you only need to set this if you're developing | | 77 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 78 | + The client info used to send a user-agent string along with | | 79 | + API requests. If ``None``, then default info will be used. | | 80 | + Generally, you only need to set this if you're developing | 81 | 81 | your own client library. | 82 | 82 | """ | 83 | 83 | # Save the hostname. Default to port 443 (HTTPS) if none is specified. | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/transports/grpc.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -228,8 +228,7 @@ def create_channel( | 228 | 228 |
| 229 | 229 | @property | 230 | 230 | def grpc_channel(self) -> grpc.Channel: | 231 | | - """Return the channel designed to connect to this service. | 232 | | - """ | | 231 | + """Return the channel designed to connect to this service.""" | 233 | 232 | return self._grpc_channel | 234 | 233 |
| 235 | 234 | @property | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/dataset_service/transports/grpc_asyncio.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -137,10 +137,10 @@ def __init__( | 137 | 137 | for grpc channel. It is ignored if ``channel`` is provided. | 138 | 138 | quota_project_id (Optional[str]): An optional project to use for billing | 139 | 139 | and quota. | 140 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 141 | | - The client info used to send a user-agent string along with | 142 | | - API requests. If ``None``, then default info will be used. | 143 | | - Generally, you only need to set this if you're developing | | 140 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 141 | + The client info used to send a user-agent string along with | | 142 | + API requests. If ``None``, then default info will be used. | | 143 | + Generally, you only need to set this if you're developing | 144 | 144 | your own client library. | 145 | 145 |
| 146 | 146 | Raises: | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/base.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -73,10 +73,10 @@ def __init__( | 73 | 73 | scope (Optional[Sequence[str]]): A list of scopes. | 74 | 74 | quota_project_id (Optional[str]): An optional project to use for billing | 75 | 75 | and quota. | 76 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 77 | | - The client info used to send a user-agent string along with | 78 | | - API requests. If ``None``, then default info will be used. | 79 | | - Generally, you only need to set this if you're developing | | 76 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 77 | + The client info used to send a user-agent string along with | | 78 | + API requests. If ``None``, then default info will be used. | | 79 | + Generally, you only need to set this if you're developing | 80 | 80 | your own client library. | 81 | 81 | """ | 82 | 82 | # Save the hostname. Default to port 443 (HTTPS) if none is specified. | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/grpc.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -227,8 +227,7 @@ def create_channel( | 227 | 227 |
| 228 | 228 | @property | 229 | 229 | def grpc_channel(self) -> grpc.Channel: | 230 | | - """Return the channel designed to connect to this service. | 231 | | - """ | | 230 | + """Return the channel designed to connect to this service.""" | 232 | 231 | return self._grpc_channel | 233 | 232 |
| 234 | 233 | @property | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/endpoint_service/transports/grpc_asyncio.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -136,10 +136,10 @@ def __init__( | 136 | 136 | for grpc channel. It is ignored if ``channel`` is provided. | 137 | 137 | quota_project_id (Optional[str]): An optional project to use for billing | 138 | 138 | and quota. | 139 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 140 | | - The client info used to send a user-agent string along with | 141 | | - API requests. If ``None``, then default info will be used. | 142 | | - Generally, you only need to set this if you're developing | | 139 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 140 | + The client info used to send a user-agent string along with | | 141 | + API requests. If ``None``, then default info will be used. | | 142 | + Generally, you only need to set this if you're developing | 143 | 143 | your own client library. | 144 | 144 |
| 145 | 145 | Raises: | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/job_service/transports/base.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -86,10 +86,10 @@ def __init__( | 86 | 86 | scope (Optional[Sequence[str]]): A list of scopes. | 87 | 87 | quota_project_id (Optional[str]): An optional project to use for billing | 88 | 88 | and quota. | 89 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 90 | | - The client info used to send a user-agent string along with | 91 | | - API requests. If ``None``, then default info will be used. | 92 | | - Generally, you only need to set this if you're developing | | 89 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 90 | + The client info used to send a user-agent string along with | | 91 | + API requests. If ``None``, then default info will be used. | | 92 | + Generally, you only need to set this if you're developing | 93 | 93 | your own client library. | 94 | 94 | """ | 95 | 95 | # Save the hostname. Default to port 443 (HTTPS) if none is specified. | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/job_service/transports/grpc.py +1-2Lines changed: 1 addition & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -242,8 +242,7 @@ def create_channel( | 242 | 242 |
| 243 | 243 | @property | 244 | 244 | def grpc_channel(self) -> grpc.Channel: | 245 | | - """Return the channel designed to connect to this service. | 246 | | - """ | | 245 | + """Return the channel designed to connect to this service.""" | 247 | 246 | return self._grpc_channel | 248 | 247 |
| 249 | 248 | @property | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/job_service/transports/grpc_asyncio.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -151,10 +151,10 @@ def __init__( | 151 | 151 | for grpc channel. It is ignored if ``channel`` is provided. | 152 | 152 | quota_project_id (Optional[str]): An optional project to use for billing | 153 | 153 | and quota. | 154 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 155 | | - The client info used to send a user-agent string along with | 156 | | - API requests. If ``None``, then default info will be used. | 157 | | - Generally, you only need to set this if you're developing | | 154 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 155 | + The client info used to send a user-agent string along with | | 156 | + API requests. If ``None``, then default info will be used. | | 157 | + Generally, you only need to set this if you're developing | 158 | 158 | your own client library. | 159 | 159 |
| 160 | 160 | Raises: | |
Collapse file Copy file name to clipboardExpand all lines: google/cloud/aiplatform_v1beta1/services/migration_service/transports/base.py +4-4Lines changed: 4 additions & 4 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -71,10 +71,10 @@ def __init__( | 71 | 71 | scope (Optional[Sequence[str]]): A list of scopes. | 72 | 72 | quota_project_id (Optional[str]): An optional project to use for billing | 73 | 73 | and quota. | 74 | | - client_info (google.api_core.gapic_v1.client_info.ClientInfo): | 75 | | - The client info used to send a user-agent string along with | 76 | | - API requests. If ``None``, then default info will be used. | 77 | | - Generally, you only need to set this if you're developing | | 74 | + client_info (google.api_core.gapic_v1.client_info.ClientInfo): | | 75 | + The client info used to send a user-agent string along with | | 76 | + API requests. If ``None``, then default info will be used. | | 77 | + Generally, you only need to set this if you're developing | 78 | 78 | your own client library. | 79 | 79 | """ | 80 | 80 | # Save the hostname. Default to port 443 (HTTPS) if none is specified. | |
|