PySourceContentReferenceFinderBase
class PySourceContentReferenceFinderBase
Bases: Generic[TContent]
Generic base class for source content reference finders.
__init__()
Methods
__init__() |
|
|---|---|
find_all() |
Finds all available content references. |
find_by_id(id) |
Finds the content reference by its unique identifier. |
find_by_source_location(source_location) |
Finds the source content reference for the source content reference location. |
find_by_source_location(source_location)
Finds the source content reference for the source content reference location.
Args: : source_location: The source content reference location.
Returns: The found source content reference, or None if no content reference was found.
- Parameters: source_location (PyContentLocation)
- Return type: PyContentReference | None
find_by_id(id)
Finds the content reference by its unique identifier.
Args: : id: The unique identifier.
Returns: The found content reference, or None if no content reference was found.
- Parameters: id (UUID)
- Return type: PyContentReference | None
find_all()
Finds all available content references.
Returns: The found content references.
- Return type: Sequence[PyContentReference]