Please provide the version of fastly that you're using.
4.2.1
What happened
When attempting to run api_instance.create_log_gcs(service_id, version_id, etc..), I get the following error:
venv/lib/python3.10/site-packages/fastly/model/logging_gcs_response.py", line 38, in lazy_import
from fastly.model.str_none_type import StrNoneType
ModuleNotFoundError: No module named 'fastly.model.str_none_type'
Please describe what you did, what you expected to happen, and what happened instead.
What I did: Attempted to create a GCS logging endpoint using create_log_gcs with compression_codec set to None since I have gzip set to 3 and the docs specifically state "Specifying both compression_codec and gzip_level in the same API request will result in an error. (optional)".
Then, I set compression_codec to an empty string since it's not nullable according to the README and the API returned the same error as above^.
So I'm stuck..
What I expected to happen: I expected the GCS logging endpoint to be created 🪄
What happened: I get the following error
venv/lib/python3.10/site-packages/fastly/model/logging_gcs_response.py", line 38, in lazy_import
from fastly.model.str_none_type import StrNoneType
ModuleNotFoundError: No module named 'fastly.model.str_none_type'
Version
Please provide the version of
fastly
that you're using.4.2.1
What happened
When attempting to run
api_instance.create_log_gcs(service_id, version_id, etc..)
, I get the following error:Please describe what you did, what you expected to happen, and what happened instead.
What I did: Attempted to create a GCS logging endpoint using create_log_gcs with
compression_codec
set toNone
since I havegzip
set to3
and the docs specifically state "Specifying bothcompression_codec
andgzip_level
in the same API request will result in an error. (optional)".Then, I set
compression_codec
to an empty string since it's not nullable according to the README and the API returned the same error as above^.So I'm stuck..
What I expected to happen: I expected the GCS logging endpoint to be created 🪄
What happened: I get the following error