You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ifre.search("client version is incompatible", error):
raiseCompatibilityError(error)
raiseValueError(f"Bad request error: {error}")
However, it looks like the peeringdb API is parsing that client version from the http request's user agent, and I do not see any code in this repo setting the user agent.
Could it cause data corruption if the main peeringdb API releases an update and I do not upgrade my client?
I see this code in the fetcher that should detect a version mismatch:
peeringdb-py/src/peeringdb/fetch.py
Lines 82 to 84 in b0d8114
However, it looks like the peeringdb API is parsing that client version from the http request's user agent, and I do not see any code in this repo setting the user agent.
https://github.com/peeringdb/peeringdb/blob/f6b68743229379608034d350c914a96dc2906dc0/src/peeringdb_server/rest.py#L269-L282
The text was updated successfully, but these errors were encountered: