@@ -155,9 +155,10 @@ def __init__(
155155 are specified, the client will attempt to ascertain the
156156 credentials from the environment.
157157 This argument is ignored if a ``channel`` instance is provided.
158- credentials_file (Optional[str]): A file with credentials that can
158+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
159159 be loaded with :func:`google.auth.load_credentials_from_file`.
160160 This argument is ignored if a ``channel`` instance is provided.
161+ This argument will be removed in the next major version of this library.
161162 scopes (Optional(Sequence[str])): A list of scopes. This argument is
162163 ignored if a ``channel`` instance is provided.
163164 channel (Optional[Union[grpc.Channel, Callable[..., grpc.Channel]]]):
@@ -292,9 +293,10 @@ def create_channel(
292293 credentials identify this application to the service. If
293294 none are specified, the client will attempt to ascertain
294295 the credentials from the environment.
295- credentials_file (Optional[str]): A file with credentials that can
296+ credentials_file (Optional[str]): Deprecated. A file with credentials that can
296297 be loaded with :func:`google.auth.load_credentials_from_file`.
297- This argument is mutually exclusive with credentials.
298+ This argument is mutually exclusive with credentials. This argument will be
299+ removed in the next major version of this library.
298300 scopes (Optional[Sequence[str]]): A optional list of scopes needed for this
299301 service. These are only used when credentials are not specified and
300302 are passed to :func:`google.auth.default`.
0 commit comments