redditwarp.siteprocs.widget.SYNC#

class redditwarp.siteprocs.widget.SYNC.WidgetProcedures(client: Client)[source]#

Bases: object

class ImageUploading(outer: WidgetProcedures)[source]#

Bases: object

obtain_upload_lease(*, sr: str, filepath: str, mimetype: str | None = None) UploadLease[source]#
deposit_file(file: IO[bytes], upload_lease: UploadLease, *, timeout: float = 1000) None[source]#
upload(file: IO[bytes], *, sr: str, filepath: str | None = None, timeout: float = 1000) UploadLease[source]#
property image_uploading: None#
class Create(outer: WidgetProcedures)[source]#

Bases: object

text_area(sr: str, *, header_color: str, background_color: str, title: str, text: str) TextAreaWidget[source]#
button(sr: str, *, header_color: str, background_color: str, title: str, description: str, buttons: Sequence[Button]) ButtonWidget[source]#
image(sr: str, *, header_color: str, background_color: str, title: str, items: Sequence[ImageWidgetImageInfo]) ImageWidget[source]#
community_list(sr: str, *, header_color: str, background_color: str, title: str, items: Sequence[str]) CommunityListWidget[source]#
calendar(sr: str, *, header_color: str, background_color: str, title: str, google_calendar_id: str, requires_sync: bool, num_events: int, show_title: bool, show_description: bool, show_location: bool, show_date: bool, show_time: bool) CalendarWidget[source]#
post_flair(sr: str, *, header_color: str, background_color: str, title: str, display: str, order: Sequence[str]) PostFlairWidget[source]#
custom_css(sr: str, *, header_color: str, background_color: str, title: str, text: str, css: str, height: int | None, image_data: Sequence[CustomCSSWidgetImageInfo]) CustomCSSWidget[source]#
property create: None#
class Replace(outer: WidgetProcedures)[source]#

Bases: object

text_area(sr: str, idt: str, *, header_color: str, background_color: str, title: str, text: str) TextAreaWidget[source]#
button(sr: str, idt: str, *, header_color: str, background_color: str, title: str, description: str, buttons: Sequence[Button]) ButtonWidget[source]#
image(sr: str, idt: str, *, header_color: str, background_color: str, title: str, items: Sequence[ImageWidgetImageInfo]) ImageWidget[source]#
community_list(sr: str, idt: str, *, header_color: str, background_color: str, title: str, items: Sequence[str]) CommunityListWidget[source]#
calendar(sr: str, idt: str, *, header_color: str, background_color: str, title: str, google_calendar_id: str, requires_sync: bool, num_events: int, show_title: bool, show_description: bool, show_location: bool, show_date: bool, show_time: bool) CalendarWidget[source]#
post_flair(sr: str, idt: str, *, header_color: str, background_color: str, title: str, display: str, order: Sequence[str]) PostFlairWidget[source]#
custom_css(sr: str, idt: str, *, header_color: str, background_color: str, title: str, text: str, css: str, height: int | None, image_data: Sequence[CustomCSSWidgetImageInfo]) CustomCSSWidget[source]#
community_details(sr: str, idt: str, *, header_color: str, background_color: str, title: str, subscriber_text: str, viewing_text: str) CommunityDetailsWidget[source]#
moderator_list(sr: str, idt: str, *, header_color: str, background_color: str) ModeratorListWidget[source]#
rules(sr: str, idt: str, *, header_color: str, background_color: str, title: str, display: str) RulesWidget[source]#
property replace: None#
create_menu_bar_tabs(sr: str, *, show_wiki: bool, tabs: Sequence[Tab]) MenuBar[source]#
replace_menu_bar_tabs(sr: str, idt: str, *, show_wiki: bool, tabs: Sequence[Tab]) MenuBar[source]#
retrieve(sr: str) WidgetList[source]#
delete(sr: str, idt: str) None[source]#
reorder(sr: str, order: Sequence[str]) None[source]#