mirror of
https://github.com/beetbox/beets.git
synced 2025-12-15 04:55:10 +01:00
Merge pull request #4971 from wisp3rwind/better_pathquery_repr
PathQuery: improve __repr__
This commit is contained in:
commit
9055abdba2
1 changed files with 6 additions and 0 deletions
|
|
@ -151,6 +151,12 @@ class PathQuery(dbcore.FieldQuery):
|
|||
dir_blob,
|
||||
)
|
||||
|
||||
def __repr__(self) -> str:
|
||||
return (
|
||||
f"{self.__class__.__name__}({self.field!r}, {self.pattern!r}, "
|
||||
f"fast={self.fast}, case_sensitive={self.case_sensitive})"
|
||||
)
|
||||
|
||||
|
||||
# Library-specific field types.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue