@@ -157,9 +157,10 @@ def __init__(
157157 are specified, the client will attempt to ascertain the
158158 credentials from the environment.
159159 This argument is ignored if a ``channel`` instance is provided.
160- credentials_file (Optional[str]): A file with credentials that can
160+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
161161 be loaded with :func:`google.auth.load_credentials_from_file`.
162162 This argument is ignored if a ``channel`` instance is provided.
163+ This argument will be removed in the next major version of this library.
163164 scopes (Optional(Sequence[str])): A list of scopes. This argument is
164165 ignored if a ``channel`` instance is provided.
165166 channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -293,9 +294,10 @@ def create_channel(
293294 credentials identify this application to the service. If
294295 none are specified, the client will attempt to ascertain
295296 the credentials from the environment.
296- credentials_file (Optional[str]): A file with credentials that can
297+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
297298 be loaded with :func:`google.auth.load_credentials_from_file`.
298- This argument is mutually exclusive with credentials.
299+ This argument is mutually exclusive with credentials. This argument will be
300+ removed in the next major version of this library.
299301 scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
300302 service. These are only used when credentials are not specified and
301303 are passed to :func:`google.auth.default`.
0 commit comments