application.types package#
Submodules#
application.types.apikey module#
application.types.apikey
application.types.badnotification module#
application.types.badnotification
application.types.badtagquery module#
application.types.badtagquery
application.types.blob module#
application.types.blob
application.types.blob_storage module#
application.types.blob_storage
- class application.types.blob_storage.BlobPreview(id, ext)#
Bases:
BlobStorageA subclass of BlobStorage that represents a preview version of a blob. These previews are smaller and lower quality than the original.
- class application.types.blob_storage.BlobStorage(id, ext)#
Bases:
objectA class to represent and manage blob storage paths.
- basename()#
Generate the base name for the blob storage object.
- Returns:
The base name consisting of the object’s ID and its extension.
- Return type:
str
- property exists: bool#
Check if the blob exists in the storage.
This method constructs the full path of the blob using its ID and checks if a file with the blob’s basename exists at that path.
- Returns:
True if the blob exists, False otherwise.
- Return type:
bool
-
ext:
str#
-
id:
str#
- path(*, create=False)#
Returns the full path to the blob, optionally creating directories.
- Parameters:
create (bool) – If True, the necessary directories will be created if they do not exist.
- Returns:
The full path to the blob.
- Return type:
str
- class application.types.blob_storage.BlobThumbnail(id, ext)#
Bases:
BlobStorageA subclass of BlobStorage that represents a thumbnail version of a blob. These thumbnails are even smaller and lower quality than previews, and thus much faster to load.
application.types.blobcount module#
application.types.blobcount
application.types.bloblist module#
application.types.bloblist
application.types.blobsearchfilter module#
application.types.blobsearchfilter
- class application.types.blobsearchfilter.BlobSearchFilter#
Bases:
TypedDictAn input type for filtering blob data. All fields are optional, and if a field is null, it will not be used in the query.
-
begin_date:
datetime|None#
-
creator:
str|None#
-
end_date:
datetime|None#
-
ephemeral:
bool|None#
-
name:
str|None#
-
tag_expr:
str|None#
-
begin_date:
application.types.book module#
application.types.book
- class application.types.book.Book#
Bases:
TypedDictA type for information about a linked book.
-
audiobook:
str|None#
-
authors:
list[str]#
-
categories:
list[str]#
-
creator:
str#
-
description:
str|None#
-
has_description:
bool#
-
id:
str#
-
language:
str#
-
maturityRating:
str#
-
owner:
UserMinData#
-
ownerHistory:
list[BookOwnerHist]#
-
pageCount:
int#
-
publishedDate:
datetime#
-
publisher:
str#
-
rfid:
str#
-
smallThumbnail:
str|None#
-
subtitle:
str|None#
-
thumbnail:
str|None#
-
title:
str#
-
audiobook:
application.types.bookcreatedata module#
application.types.bookcreatedata
application.types.bookeditdata module#
application.types.bookeditdata
application.types.bookident module#
application.types.bookident
application.types.booklist module#
application.types.booklist
application.types.bookownerhist module#
application.types.bookownerhist
application.types.booksearchfilter module#
application.types.booksearchfilter
application.types.booktag module#
application.types.booktag
application.types.bugcomment module#
application.types.bugcomment
application.types.bugreport module#
application.types.bugreport
application.types.bugreportcreationfailederror module#
application.types.bugreportcreationfailederror
application.types.config module#
application.types.config
application.types.configlist module#
application.types.configlist
application.types.diskusage module#
application.types.diskusage
application.types.document module#
application.types.document
application.types.documentmin module#
application.types.documentmin
application.types.ebook module#
application.types.ebook
application.types.feed module#
application.types.feed
application.types.feeddocument module#
application.types.feeddocument
- class application.types.feeddocument.FeedDocument#
Bases:
TypedDictAn individual feed document, representing an item in a feed.
-
author:
str|None#
-
body:
str#
-
body_html:
str#
-
created:
datetime#
-
feed:
str#
-
html_len:
int#
-
id:
str#
-
posted:
datetime|None#
-
read:
bool#
-
title:
str|None#
-
updated:
datetime|None#
-
url:
str#
-
author:
application.types.insufficientperms module#
application.types.insufficientperms
application.types.invalidfields module#
application.types.invalidfields
application.types.inventorysearchfilter module#
application.types.inventorysearchfilter
application.types.issuelabel module#
application.types.issuelabel
application.types.issuelist module#
application.types.issuelist
- class application.types.issuelist.IssueList#
Bases:
TypedDictA list of GitHub issues.
-
issues:
list[RepositoryIssue]#
-
issues:
application.types.item module#
application.types.item
application.types.lastmutation module#
application.types.lastmutation
application.types.logresult module#
application.types.logresult
application.types.notification module#
application.types.notification
application.types.qrparseresponse module#
application.types.qrparseresponse
application.types.repositoryissue module#
application.types.repositoryissue
application.types.resetcode module#
application.types.resetcode
application.types.schema module#
application.types.schema
- class application.types.schema.Schema#
Bases:
TypedDictA type representing the complete GraphQL schema.
-
mutations:
list[SchemaQuery]#
-
queries:
list[SchemaQuery]#
-
types:
list[SchemaType]#
-
mutations:
application.types.schemaparam module#
application.types.schemaparam
application.types.schemaquery module#
application.types.schemaquery
- class application.types.schemaquery.SchemaQuery#
Bases:
TypedDictA query in the GraphQL schema.
-
name:
str#
-
params:
list[SchemaParam]#
-
query:
str#
-
returns:
SchemaReturnType#
-
name:
application.types.schemareturntype module#
application.types.schemareturntype
application.types.schematype module#
application.types.schematype
application.types.sorting module#
application.types.sorting
application.types.sortingoutput module#
application.types.sortingoutput
application.types.subscription module#
application.types.subscription
application.types.subscriptionkeys module#
application.types.subscriptionkeys
application.types.subscriptionlist module#
application.types.subscriptionlist
- class application.types.subscriptionlist.SubscriptionList#
Bases:
TypedDictA list of WebPush subscriptions for a user.
-
list:
list[Subscription]#
-
list:
application.types.subscriptiontoken module#
application.types.subscriptiontoken
application.types.subscriptiontokenkeys module#
application.types.subscriptiontokenkeys
application.types.subsonicalbum module#
application.types.subsonicalbum
application.types.subsonicsearch module#
application.types.subsonicsearch
- class application.types.subsonicsearch.SubsonicSearch#
Bases:
TypedDictThe results of a Subsonic search query.
-
album:
list[SubsonicAlbum]#
-
album:
application.types.subsonictrack module#
application.types.subsonictrack
application.types.systeminfo module#
application.types.systeminfo
application.types.theme module#
application.types.theme
application.types.themecolor module#
application.types.themecolor
application.types.themecoloroutput module#
application.types.themecoloroutput
application.types.themeoutput module#
application.types.themeoutput
application.types.themesize module#
application.types.themesize
application.types.themesizeoutput module#
application.types.themesizeoutput
application.types.userbookcount module#
application.types.userbookcount
- class application.types.userbookcount.UserBookCount#
Bases:
TypedDictBook count information for a user.
-
count:
int#
-
owner:
UserMinData#
-
count:
application.types.userdata module#
application.types.userdata
- class application.types.userdata.UserData#
Bases:
TypedDictData for a user in the system.
-
disabled:
bool#
-
disabled_modules:
list[str]#
-
display_name:
str#
-
email:
str#
-
failed_logins:
int#
-
groups:
list[str]#
-
is_locked:
bool#
-
last_login:
datetime|None#
-
perms:
list[str]#
-
theme:
UserThemeOutput#
-
username:
str#
-
disabled:
application.types.usermindata module#
application.types.usermindata
application.types.usertheme module#
application.types.usertheme
- class application.types.usertheme.UserTheme#
Bases:
TypedDictTheme settings for a user.
-
colors:
list[ThemeColor]#
-
colors:
application.types.userthemeoutput module#
application.types.userthemeoutput
- class application.types.userthemeoutput.UserThemeOutput#
Bases:
TypedDictTheme settings for a user.
-
colors:
list[ThemeColorOutput]#
-
sizes:
list[ThemeSizeOutput]#
-
colors:
application.types.weatheralert module#
application.types.weatheralert
application.types.weatherexecution module#
application.types.weatherexecution
application.types.weathertemp module#
application.types.weathertemp
application.types.weathertempoutput module#
application.types.weathertempoutput
application.types.weatheruser module#
application.types.weatheruser
- class application.types.weatheruser.WeatherUser#
Bases:
TypedDictInformation about a user in the weather alerts system.
-
exclude:
bool#
-
last_sent:
datetime|None#
-
lat:
float#
-
lon:
float#
-
max:
WeatherTempOutput#
-
min:
WeatherTempOutput#
-
username:
str#
-
exclude:
application.types.weatheruserinput module#
application.types.weatheruserinput
- class application.types.weatheruserinput.WeatherUserInput#
Bases:
TypedDictUpdate information for a user in the weather alerts system.
-
lat:
float#
-
lon:
float#
-
max:
WeatherTemp#
-
min:
WeatherTemp#
-
username:
str#
-
lat:
application.types.zipprogress module#
application.types.zipprogress
Module contents#
application.types