Skip to content

Invalid escape sequence produces SyntaxWarning on run #983

@chasewalden

Description

@chasewalden

Getting some noise in the console when running my code. Appears to be coming from here.

Changing these to raw strings (r"...") silences the warning.

.../qdrant_client/http/models/models.py:758: SyntaxWarning: invalid escape sequence '\&'
  description="Check that the field is empty, alternative syntax for `is_empty: \"field_name\"`",
.../qdrant_client/http/models/models.py:762: SyntaxWarning: invalid escape sequence '\&'
  description="Check that the field is null, alternative syntax for `is_null: \"field_name\"`",

Metadata

Metadata

Assignees

Labels

To be releasedMerged into dev, waiting for release

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions