chitose.app.bsky.video package#

Submodules#

chitose.app.bsky.video.defs module#

class chitose.app.bsky.video.defs.JobStatus(job_id: str, did: str, state: Literal['JOB_STATE_COMPLETED', 'JOB_STATE_FAILED'], progress: int | None = None, blob: Blob | None = None, error: str | None = None, message: str | None = None)#

Bases: Object

Parameters:
  • state – The state of the video processing job. All values not listed as a known value indicate that the job is in process.

  • progress – Progress within the current processing state.

to_dict() dict[str, Any]#

chitose.app.bsky.video.get_job_status module#

chitose.app.bsky.video.get_upload_limits module#

chitose.app.bsky.video.upload_video module#

Module contents#

class chitose.app.bsky.video.Video_(call: Callable[[str, list[tuple[str, str | None | int | list[str]]], bytes | dict[str, Any] | None, dict[str, str]], bytes], subscribe: Callable[[str, list[tuple[str, str | None | int | list[str]]], Callable[[str | bytes], None]], None])#

Bases: object

We recommend calling methods in this class via the chitose.BskyAgent class instead of creating instances of this class directly.

get_job_status(job_id: str) bytes#

Get status details for a video processing job.

get_upload_limits() bytes#

Get video upload limits for the authenticated user.

upload_video(input_: bytes) bytes#

Upload a video to be processed then stored on the PDS.