marqeta-python icon indicating copy to clipboard operation
marqeta-python copied to clipboard

SyntaxError in `cron_job_info.py` when trying to byte-compile the `marqeta-python` module

Open zajacg opened this issue 2 years ago • 0 comments

I'm getting SyntaxError: invalid syntax when trying to byte-compile the marqeta-python module with python -m compileall:

File "../venv/lib/python3.11/site-packages/marqeta/response_models/cron_job_info.py", line 35
    def class(self):
        ^^^^^
SyntaxError: invalid syntax

This is probably because the class keyword is being used as a method name.

zajacg avatar Sep 12 '23 13:09 zajacg