python-bigquery-pandas icon indicating copy to clipboard operation
python-bigquery-pandas copied to clipboard

Chore: deprecate the current default user-agent string.

Open chalmerlowe opened this issue 1 year ago • 1 comments

The default user-agent issued by this module is not in accordance with RFC 9110 which recommends: product/major.minor.micro (ie. pandas/2.0.1).

Current style: product-x.y.z (pandas-2.0.1)

Note: in the docstring for user_agent in the Google api-core ClientInfo class, the api-core folks recommend but do not require the use of the format the rfc suggests (with the forward slash):

user_agent (Optional[str]): Prefix to the user agent header. This is
            used to supply information such as application name or partner tool.
            Recommended format: ``application-or-tool-ID/major.minor.version``.

chalmerlowe avatar Oct 11 '24 09:10 chalmerlowe