OAPI: allow job settings to have a tooltip/description

This commit is contained in:
Sybren A. Stüvel 2022-03-11 16:54:04 +01:00
parent 6d00d9cb34
commit 7181c2c4cf
11 changed files with 68 additions and 57 deletions

View File

@ -210,6 +210,7 @@ def _create_property(job_type, setting):
assert isinstance(setting.type, ModelSimple) assert isinstance(setting.type, ModelSimple)
value_coerce = _value_coerce[setting.type.to_str()] value_coerce = _value_coerce[setting.type.to_str()]
_set_if_available(prop_kwargs, setting, "description")
_set_if_available(prop_kwargs, setting, "default", transform=value_coerce) _set_if_available(prop_kwargs, setting, "default", transform=value_coerce)
_set_if_available(prop_kwargs, setting, "subtype", transform=_transform_subtype) _set_if_available(prop_kwargs, setting, "subtype", transform=_transform_subtype)
print() print()

View File

@ -10,7 +10,7 @@
""" """
__version__ = "51b23a38" __version__ = "91f2fb20-dirty"
# import ApiClient # import ApiClient
from flamenco.manager.api_client import ApiClient from flamenco.manager.api_client import ApiClient

View File

@ -76,7 +76,7 @@ class ApiClient(object):
self.default_headers[header_name] = header_value self.default_headers[header_name] = header_value
self.cookie = cookie self.cookie = cookie
# Set default User-Agent. # Set default User-Agent.
self.user_agent = 'Flamenco/51b23a38 (Blender add-on)' self.user_agent = 'Flamenco/91f2fb20-dirty (Blender add-on)'
def __enter__(self): def __enter__(self):
return self return self

View File

@ -404,7 +404,7 @@ conf = flamenco.manager.Configuration(
"OS: {env}\n"\ "OS: {env}\n"\
"Python Version: {pyversion}\n"\ "Python Version: {pyversion}\n"\
"Version of the API: 1.0.0\n"\ "Version of the API: 1.0.0\n"\
"SDK Package Version: 51b23a38".\ "SDK Package Version: 91f2fb20-dirty".\
format(env=sys.platform, pyversion=sys.version) format(env=sys.platform, pyversion=sys.version)
def get_host_settings(self): def get_host_settings(self):

View File

@ -9,6 +9,7 @@ Name | Type | Description | Notes
**type** | [**AvailableJobSettingType**](AvailableJobSettingType.md) | | **type** | [**AvailableJobSettingType**](AvailableJobSettingType.md) | |
**subtype** | [**AvailableJobSettingSubtype**](AvailableJobSettingSubtype.md) | | [optional] **subtype** | [**AvailableJobSettingSubtype**](AvailableJobSettingSubtype.md) | | [optional]
**choices** | **[str]** | When given, limit the valid values to these choices. Only usable with string type. | [optional] **choices** | **[str]** | When given, limit the valid values to these choices. Only usable with string type. | [optional]
**description** | **bool, date, datetime, dict, float, int, list, str, none_type** | The description/tooltip shown in the user interface. | [optional]
**default** | **bool, date, datetime, dict, float, int, list, str, none_type** | The default value shown to the user when determining this setting. | [optional] **default** | **bool, date, datetime, dict, float, int, list, str, none_type** | The default value shown to the user when determining this setting. | [optional]
**visible** | **bool** | Whether to show this setting in the UI of a job submitter (like a Blender add-on). Set to `false` when it is an internal setting that shouldn't be shown to end users. | [optional] if omitted the server will use the default value of True **visible** | **bool** | Whether to show this setting in the UI of a job submitter (like a Blender add-on). Set to `false` when it is an internal setting that shouldn't be shown to end users. | [optional] if omitted the server will use the default value of True
**required** | **bool** | Whether to immediately reject a job definition, of this type, without this particular setting. | [optional] if omitted the server will use the default value of False **required** | **bool** | Whether to immediately reject a job definition, of this type, without this particular setting. | [optional] if omitted the server will use the default value of False

View File

@ -93,6 +93,7 @@ class AvailableJobSetting(ModelNormal):
'type': (AvailableJobSettingType,), # noqa: E501 'type': (AvailableJobSettingType,), # noqa: E501
'subtype': (AvailableJobSettingSubtype,), # noqa: E501 'subtype': (AvailableJobSettingSubtype,), # noqa: E501
'choices': ([str],), # noqa: E501 'choices': ([str],), # noqa: E501
'description': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
'default': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501 'default': (bool, date, datetime, dict, float, int, list, str, none_type,), # noqa: E501
'visible': (bool,), # noqa: E501 'visible': (bool,), # noqa: E501
'required': (bool,), # noqa: E501 'required': (bool,), # noqa: E501
@ -109,6 +110,7 @@ class AvailableJobSetting(ModelNormal):
'type': 'type', # noqa: E501 'type': 'type', # noqa: E501
'subtype': 'subtype', # noqa: E501 'subtype': 'subtype', # noqa: E501
'choices': 'choices', # noqa: E501 'choices': 'choices', # noqa: E501
'description': 'description', # noqa: E501
'default': 'default', # noqa: E501 'default': 'default', # noqa: E501
'visible': 'visible', # noqa: E501 'visible': 'visible', # noqa: E501
'required': 'required', # noqa: E501 'required': 'required', # noqa: E501
@ -162,6 +164,7 @@ class AvailableJobSetting(ModelNormal):
_visited_composed_classes = (Animal,) _visited_composed_classes = (Animal,)
subtype (AvailableJobSettingSubtype): [optional] # noqa: E501 subtype (AvailableJobSettingSubtype): [optional] # noqa: E501
choices ([str]): When given, limit the valid values to these choices. Only usable with string type.. [optional] # noqa: E501 choices ([str]): When given, limit the valid values to these choices. Only usable with string type.. [optional] # noqa: E501
description (bool, date, datetime, dict, float, int, list, str, none_type): The description/tooltip shown in the user interface.. [optional] # noqa: E501
default (bool, date, datetime, dict, float, int, list, str, none_type): The default value shown to the user when determining this setting.. [optional] # noqa: E501 default (bool, date, datetime, dict, float, int, list, str, none_type): The default value shown to the user when determining this setting.. [optional] # noqa: E501
visible (bool): Whether to show this setting in the UI of a job submitter (like a Blender add-on). Set to `false` when it is an internal setting that shouldn't be shown to end users. . [optional] if omitted the server will use the default value of True # noqa: E501 visible (bool): Whether to show this setting in the UI of a job submitter (like a Blender add-on). Set to `false` when it is an internal setting that shouldn't be shown to end users. . [optional] if omitted the server will use the default value of True # noqa: E501
required (bool): Whether to immediately reject a job definition, of this type, without this particular setting. . [optional] if omitted the server will use the default value of False # noqa: E501 required (bool): Whether to immediately reject a job definition, of this type, without this particular setting. . [optional] if omitted the server will use the default value of False # noqa: E501
@ -255,6 +258,7 @@ class AvailableJobSetting(ModelNormal):
_visited_composed_classes = (Animal,) _visited_composed_classes = (Animal,)
subtype (AvailableJobSettingSubtype): [optional] # noqa: E501 subtype (AvailableJobSettingSubtype): [optional] # noqa: E501
choices ([str]): When given, limit the valid values to these choices. Only usable with string type.. [optional] # noqa: E501 choices ([str]): When given, limit the valid values to these choices. Only usable with string type.. [optional] # noqa: E501
description (bool, date, datetime, dict, float, int, list, str, none_type): The description/tooltip shown in the user interface.. [optional] # noqa: E501
default (bool, date, datetime, dict, float, int, list, str, none_type): The default value shown to the user when determining this setting.. [optional] # noqa: E501 default (bool, date, datetime, dict, float, int, list, str, none_type): The default value shown to the user when determining this setting.. [optional] # noqa: E501
visible (bool): Whether to show this setting in the UI of a job submitter (like a Blender add-on). Set to `false` when it is an internal setting that shouldn't be shown to end users. . [optional] if omitted the server will use the default value of True # noqa: E501 visible (bool): Whether to show this setting in the UI of a job submitter (like a Blender add-on). Set to `false` when it is an internal setting that shouldn't be shown to end users. . [optional] if omitted the server will use the default value of True # noqa: E501
required (bool): Whether to immediately reject a job definition, of this type, without this particular setting. . [optional] if omitted the server will use the default value of False # noqa: E501 required (bool): Whether to immediately reject a job definition, of this type, without this particular setting. . [optional] if omitted the server will use the default value of False # noqa: E501

View File

@ -4,7 +4,7 @@ Render Farm manager API
The `flamenco.manager` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project: The `flamenco.manager` package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
- API version: 1.0.0 - API version: 1.0.0
- Package version: 51b23a38 - Package version: 91f2fb20-dirty
- Build package: org.openapitools.codegen.languages.PythonClientCodegen - Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://flamenco.io/](https://flamenco.io/) For more information, please visit [https://flamenco.io/](https://flamenco.io/)

View File

@ -4,8 +4,8 @@ const JOB_TYPE = {
label: "Simple Blender Render", label: "Simple Blender Render",
settings: [ settings: [
{ key: "blender_cmd", type: "string", default: "{blender}", visible: false }, { key: "blender_cmd", type: "string", default: "{blender}", visible: false },
{ key: "filepath", type: "string", subtype: "file_path", required: true }, { key: "filepath", type: "string", subtype: "file_path", required: true, description: "Blend file to render", visible: false },
{ key: "chunk_size", type: "int32", default: 1 }, { key: "chunk_size", type: "int32", default: 1, description: "Number of frames to render in one Blender render task" },
{ key: "frames", type: "string", required: true }, { key: "frames", type: "string", required: true },
{ key: "render_output", type: "string", subtype: "hashed_file_path", required: true }, { key: "render_output", type: "string", subtype: "hashed_file_path", required: true },
{ key: "fps", type: "int32" }, { key: "fps", type: "int32" },

View File

@ -403,6 +403,8 @@ components:
description: When given, limit the valid values to these choices. Only usable with string type. description: When given, limit the valid values to these choices. Only usable with string type.
type: array type: array
items: {type: string} items: {type: string}
"description":
description: The description/tooltip shown in the user interface.
"default": "default":
description: The default value shown to the user when determining this setting. description: The default value shown to the user when determining this setting.
"visible": "visible":

View File

@ -25,57 +25,57 @@ var swaggerSpec = []string{
"gpbxD9fT1Iaaeqc4qL9jNxIlovpiOyN1zXL8MJeqpCY5cC/SzYGXaaLgQ80U5MnBuzAIleNlaXjriLCh", "gpbxD9fT1Iaaeqc4qL9jNxIlovpiOyN1zXL8MJeqpCY5cC/SzYGXaaLgQ80U5MnBuzAIleNlaXjriLCh",
"pY5Kulyl7X6dNuvK2TlkBhl8vKSM0xmHF3J2DMYgOwPLOWZiwYFo953IOaHkhZwRpKYjBlJIlrnHPp0f", "pY5Kulyl7X6dNuvK2TlkBhl8vKSM0xmHF3J2DMYgOwPLOWZiwYFo953IOaHkhZwRpKYjBlJIlrnHPp0f",
"CxBkwZYgUsJZyYy1syXlLMf/a9DESHyngXgiY/JG8DWpNfJIVswUxCnNLo5rNyY4UP6mseUwpzU3Q75O", "CxBkwZYgUsJZyYy1syXlLMf/a9DESHyngXgiY/JG8DWpNfJIVswUxCnNLo5rNyY4UP6mseUwpzU3Q75O",
"CiD+o+OD6EKuhGeG1BoUWSHvORhQJRN2/YLpoJIxkoecGeTS0fdLzSnXkA71YApQSJ9yLlcEp27SJHRu", "CiD+o+OD6EKuhGeG1BoUWSHvORhQJRN2/YLpoJKxI9+hGV+ieTMxUnLDKr8QE+1CaI9qTjOwRCFnBkV3",
"cEwB5FzOSEE1mQEIoutZyYyBfEx+lDXPCSsrviY5cHDTOCfwkWlHkOoLTeZSOdLncpYSKnL0dVlWjOMY", "FD3/c8o1pEPlmgIUMk05lyuCUzcZJXR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/Z0lLb9sz", "jodMPtkDBQ+fxH2lczB4EwTFE/z9EMrdp4uOJNt80ddDTDgWA4Zx62xxUkCgtbKhNYMqZNSoi5z4g0qb",
"Y3doatYVyyxM0j3irZRcKNA69VfO/N8QKDKnjNcKduaWkFE0iLyHhqG6A3WMYlgRBU9Vy2Dj7jRiknSK", "kX3U6JqR2zTrJ6ZP2/pMl/6fJS29bc+M3aGpWVcsszBJ94i3UnKhQOvUXznzf0OgyJwyXivYmVtCRtEg",
"rsFfX/QhtgFkzIwGPh+3TmKBpMs0dgvG9wSWuQ81KAY67cDI6QYqN+5hlzpC9PHRYR/I7paEsixr4Y/S", "8h4ahuoO1DGKYUUUPFUtg42704hJ0im6Bn990YfYBpAxMxr4fNw6iQWSLtPYLRjfE1jmPtSgGOi0AyOn",
"mSkGrHfIe91enl7+MwAA//9VEH3t7TYAAA==", "G6jcuIdd6gjRx0eHfSC7WxLKsqyFP0pnphiw3iHvdXt5evnPAAAA//9yr9zeQjcAAA==",
} }
// GetSwagger returns the content of the embedded swagger specification file // GetSwagger returns the content of the embedded swagger specification file

View File

@ -123,6 +123,9 @@ type AvailableJobSetting struct {
// The default value shown to the user when determining this setting. // The default value shown to the user when determining this setting.
Default *interface{} `json:"default,omitempty"` Default *interface{} `json:"default,omitempty"`
// The description/tooltip shown in the user interface.
Description *interface{} `json:"description,omitempty"`
// Whether to allow editing this setting after the job has been submitted. Would imply deleting all existing tasks for this job, and recompiling it. // Whether to allow editing this setting after the job has been submitted. Would imply deleting all existing tasks for this job, and recompiling it.
Editable *bool `json:"editable,omitempty"` Editable *bool `json:"editable,omitempty"`