Files

An iterable collection of File objects.

Files(
    client, run, names=None, per_page=50, upload=(False)
)
Attributes
cursor The start cursor to use for the next fetched page.
more Whether there are more pages to be fetched.

Methods

convert_objects

View source

convert_objects()

Convert the last fetched response data into the iterated objects.

next

View source

next() -> T

Return the next item from the iterator. When exhausted, raise StopIteration

update_variables

View source

update_variables()

Update the query variables for the next page fetch.

__getitem__

View source

__getitem__(
    index: (int | slice)
) -> (T | list[T])

__iter__

View source

__iter__() -> Iterator[T]

__len__

View source

__len__() -> int
Class Variables
QUERY