-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi,
recently tried to instal library by poetry. That started some background validations processes. So, right now i have a list of SyntaxWarning prints during stetting the containers. All of them are about invalid escape sequence. I think that could be simply fixed by raw string synthax: r'', but i wonder, did someone met inproper functionalities during the rular usage?
Hi,
I recently tried to install the library using Poetry, which triggered some background validation processes. Currently, I am encountering a list of SyntaxWarning messages related to invalid escape sequences while setting up the containers. All of the warnings are about invalid escape sequences:
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/query.py:13: SyntaxWarning: invalid escape sequence '\d'
app-1 | OFFSET_EXPRESSION = re.compile("(?P<offset>offset (?P<value>\d+))")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/query.py:14: SyntaxWarning: invalid escape sequence '\d'
app-1 | LIMIT_EXPRESSION = re.compile("(?P<limit>limit (?P<value>\d+))")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/query.py:13: SyntaxWarning: invalid escape sequence '\d'
app-1 | OFFSET_EXPRESSION = re.compile("(?P<offset>offset (?P<value>\d+))")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/query.py:14: SyntaxWarning: invalid escape sequence '\d'
app-1 | LIMIT_EXPRESSION = re.compile("(?P<limit>limit (?P<value>\d+))")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/query.py:13: SyntaxWarning: invalid escape sequence '\d'
app-1 | OFFSET_EXPRESSION = re.compile("(?P<offset>offset (?P<value>\d+))")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/query.py:14: SyntaxWarning: invalid escape sequence '\d'
app-1 | LIMIT_EXPRESSION = re.compile("(?P<limit>limit (?P<value>\d+))")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/plugin.py:32: SyntaxWarning: invalid escape sequence '\*'
app-1 | """Find and load plugins in search *paths*.
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/structure/standard.py:133: SyntaxWarning: invalid escape sequence '\w'
app-1 | "[^\w\.-]", self.illegal_character_substitute, value.decode("utf-8")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/structure/standard.py:133: SyntaxWarning: invalid escape sequence '\w'
app-1 | "[^\w\.-]", self.illegal_character_substitute, value.decode("utf-8")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/structure/standard.py:133: SyntaxWarning: invalid escape sequence '\w'
app-1 | "[^\w\.-]", self.illegal_character_substitute, value.decode("utf-8")
app-1 | /usr/local/lib/python3.12/site-packages/ftrack_api/structure/standard.py:133: SyntaxWarning: invalid escape sequence '\w'
app-1 | "[^\w\.-]", self.illegal_character_substitute, value.decode("utf-8")
I believe this could be easily fixed by using raw string syntax (r''), but I wonder if anyone has experienced any functionality issues related to this during regular usage?