@@ -180,9 +180,10 @@ def __init__(
180180 are specified, the client will attempt to ascertain the
181181 credentials from the environment.
182182 This argument is ignored if a ``channel`` instance is provided.
183- credentials_file (Optional[str]): A file with credentials that can
183+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
184184 be loaded with :func:`google.auth.load_credentials_from_file`.
185185 This argument is ignored if a ``channel`` instance is provided.
186+ This argument will be removed in the next major version of this library.
186187 scopes (Optional(Sequence[str])): A list of scopes. This argument is
187188 ignored if a ``channel`` instance is provided.
188189 channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -315,9 +316,10 @@ def create_channel(
315316 credentials identify this application to the service. If
316317 none are specified, the client will attempt to ascertain
317318 the credentials from the environment.
318- credentials_file (Optional[str]): A file with credentials that can
319+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
319320 be loaded with :func:`google.auth.load_credentials_from_file`.
320- This argument is mutually exclusive with credentials.
321+ This argument is mutually exclusive with credentials. This argument will be
322+ removed in the next major version of this library.
321323 scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
322324 service. These are only used when credentials are not specified and
323325 are passed to :func:`google.auth.default`.
0 commit comments