Skip to content
airflow-systemd
v0.2.0
Toggle navigation menu
⌘
K
airflow-systemd
v0.2.0
/
API reference
/
airflow_systemd.UnitInfo
airflow_systemd.UnitInfo
¶
pydantic
model
airflow_systemd.
UnitInfo
[source]
¶
Bases:
BaseModel
field
name
:
str
[Required]
¶
field
load_state
:
str
=
''
¶
field
active_state
:
str
=
''
¶
field
sub_state
:
str
=
''
¶
field
result
:
str
=
''
¶
field
exec_main_code
:
str
=
''
¶
field
exec_main_status
:
int
|
None
=
None
¶
running
(
)
→
bool
[source]
¶
stopped
(
)
→
bool
[source]
¶
done
(
ok_exitstatuses
:
list
[
int
|
str
]
|
None
=
None
)
→
bool
[source]
¶
ok
(
ok_exitstatuses
:
list
[
int
|
str
]
|
None
=
None
)
→
bool
[source]
¶
bad
(
ok_exitstatuses
:
list
[
int
|
str
]
|
None
=
None
)
→
bool
[source]
¶