paperap.models.storage_path.queryset module
METADATA:
- File: queryset.py
Project: paperap
- Created: 2025-03-04
Version: 0.0.8
Author: Jess Mann Email: jess@jmann.me
Copyright (c) 2025 Jess Mann
LAST MODIFIED:
2025-03-04 By Jess Mann
- class paperap.models.storage_path.queryset.StoragePathQuerySet(resource, filters=None, _cache=None, _fetch_all=False, _next_url=None, _last_response=None, _iter=None, _urls_fetched=None)[source]
Bases:
StandardQuerySet[StoragePath],HasStandardQuerySet for Paperless-ngx storage paths with specialized filtering methods.
- Parameters:
resource (BaseResource[_Model, Self])
filters (dict[str, Any] | None)
_cache (list[_Model] | None)
_fetch_all (bool)
_next_url (str | None)
_last_response (ClientResponse)
_iter (Iterator[_Model] | None)
_urls_fetched (list[str] | None)
- path(value, *, exact=True, case_insensitive=True)[source]
Filter storage paths by their actual path value.
- matching_algorithm(value)[source]
Filter storage paths by matching algorithm.
- Parameters:
value (
int) – The matching algorithm to filter by- Return type:
Self- Returns:
Filtered StoragePathQuerySet