mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge remote-tracking branch 'origin/feature/909-define-basic-trait-type-using-dataclasses' into feature/911-new-traits-based-integrator
This commit is contained in:
commit
aa5880e5ff
1 changed files with 2 additions and 2 deletions
|
|
@ -126,7 +126,7 @@ class FileLocations(TraitBase):
|
|||
self,
|
||||
frame: int,
|
||||
sequence_trait: Optional[Sequence] = None,
|
||||
) -> Optional[FileLocation]:
|
||||
) -> Optional[Path]:
|
||||
"""Get file location for a frame.
|
||||
|
||||
This method will return the file location for a given frame. If the
|
||||
|
|
@ -138,7 +138,7 @@ class FileLocations(TraitBase):
|
|||
frame range specs from.
|
||||
|
||||
Returns:
|
||||
Optional[FileLocation]: File location for the frame.
|
||||
Optional[Path]: File location for the frame.
|
||||
|
||||
"""
|
||||
frame_regex = r"\.(?P<frame>(?P<padding>0*)\d+)\.\D+\d?$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue