result
Attributes
Classes
Glyph
Bases: TypedDict
Flow Launcher Glyph
Source code in pyflowlauncher/result.py
25 26 27 28 |
|
Attributes
FontFamily
instance-attribute
FontFamily: str
Glyph
instance-attribute
Glyph: str
JsonRPCAction
Bases: TypedDict
Flow Launcher JsonRPCAction
Source code in pyflowlauncher/result.py
18 19 20 21 22 |
|
Attributes
dontHideAfterAction
instance-attribute
dontHideAfterAction: NotRequired[bool]
method
instance-attribute
method: str
parameters
instance-attribute
parameters: Iterable
PreviewInfo
Bases: TypedDict
Flow Launcher Preview section
Source code in pyflowlauncher/result.py
31 32 33 34 35 36 |
|
Attributes
Description
instance-attribute
Description: Optional[str]
IsMedia
instance-attribute
IsMedia: bool
PreviewDeligate
instance-attribute
PreviewDeligate: Optional[str]
PreviewImagePath
instance-attribute
PreviewImagePath: Optional[str]
Result
dataclass
Source code in pyflowlauncher/result.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
|
Attributes
AutoCompleteText
class-attribute
instance-attribute
AutoCompleteText: Optional[str] = None
ContextData
class-attribute
instance-attribute
ContextData: Optional[Iterable] = None
CopyText
class-attribute
instance-attribute
CopyText: Optional[str] = None
Glyph
class-attribute
instance-attribute
Glyph: Optional[Glyph] = None
IcoPath
class-attribute
instance-attribute
IcoPath: Optional[Union[str, Path]] = None
JsonRPCAction
class-attribute
instance-attribute
JsonRPCAction: Optional[JsonRPCAction] = None
Preview
class-attribute
instance-attribute
Preview: Optional[PreviewInfo] = None
RoundedIcon
class-attribute
instance-attribute
RoundedIcon: bool = False
Score
class-attribute
instance-attribute
Score: int = 0
SubTitle
class-attribute
instance-attribute
SubTitle: Optional[str] = None
Title
instance-attribute
Title: str
Functions
add_action
add_action(method: Method, parameters: Optional[Iterable[Any]] = None, *, dont_hide_after_action: bool = False) -> None
Source code in pyflowlauncher/result.py
56 57 58 59 60 61 62 63 64 |
|
as_dict
as_dict() -> Dict[str, Any]
Source code in pyflowlauncher/result.py
53 54 |
|
ResultResponse
Bases: TypedDict
Source code in pyflowlauncher/result.py
67 68 69 |
|
Attributes
SettingsChange
instance-attribute
SettingsChange: NotRequired[Optional[Dict[str, Any]]]
result
instance-attribute
result: List[Dict[str, Any]]
Functions
send_results
send_results(results: Iterable[Result], settings: Optional[Dict[str, Any]] = None) -> ResultResponse
Formats and returns results as a JsonRPCResponse
Source code in pyflowlauncher/result.py
72 73 74 |
|