Skip to content

SyntaxWarning: invalid escape sequence '\[' #70

@ddouglas87

Description

@ddouglas87

Just a heads up, I'm getting a handful of these:

orchestrator_grabber     | 2025-04-26 10:57:36 +0000 - dagster - WARNING - /usr/local/lib/python3.12/site-packages/tvDatafeed/main.py:142: SyntaxWarning: invalid escape sequence '\['
orchestrator_grabber     |   out = re.search('"s":\[(.+?)\}\]', raw_data).group(1)
orchestrator_grabber     | 
orchestrator_grabber     | 2025-04-26 10:57:36 +0000 - dagster - WARNING - /usr/local/lib/python3.12/site-packages/tvDatafeed/main.py:148: SyntaxWarning: invalid escape sequence '\['
orchestrator_grabber     |   xi = re.split("\[|:|,|\]", xi)
orchestrator_grabber     | 

Everything seems to be working fine on my end, so it's probably not a huge issue.

Thanks for all the hard work you guys have been putting into this!

edit: Also, I’m running Python 3.12.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions