The API client uses response.content from requests when using a schema from a URL, which returns a bytestring, causing AttributeErrors with the YAML caches as it tries to get the file name of the bytestring.
response.content
requests