touchdesigner-mcp-server 0.4.0-alpha.0 → 0.4.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/README.ja.md +4 -4
  2. package/README.md +4 -3
  3. package/dist/cli.js +0 -0
  4. package/dist/gen/endpoints/TouchDesignerAPI.js +1 -1
  5. package/dist/gen/mcp/touchDesignerAPI.zod.js +1 -1
  6. package/dist/index.js +0 -0
  7. package/dist/server/touchDesignerServer.js +1 -1
  8. package/package.json +14 -12
  9. package/td/genHandlers.js +0 -47
  10. package/td/import_modules.py +0 -52
  11. package/td/mcp_webserver_base.tox +0 -0
  12. package/td/modules/mcp/controllers/__init__.py +0 -9
  13. package/td/modules/mcp/controllers/api_controller.py +0 -637
  14. package/td/modules/mcp/controllers/generated_handlers.py +0 -365
  15. package/td/modules/mcp/controllers/openapi_router.py +0 -265
  16. package/td/modules/mcp/services/__init__.py +0 -8
  17. package/td/modules/mcp/services/api_service.py +0 -555
  18. package/td/modules/mcp_webserver_script.py +0 -134
  19. package/td/modules/td_server/.dockerignore +0 -72
  20. package/td/modules/td_server/.openapi-generator/FILES +0 -55
  21. package/td/modules/td_server/.openapi-generator/VERSION +0 -1
  22. package/td/modules/td_server/.openapi-generator-ignore +0 -23
  23. package/td/modules/td_server/.travis.yml +0 -14
  24. package/td/modules/td_server/Dockerfile +0 -16
  25. package/td/modules/td_server/README.md +0 -49
  26. package/td/modules/td_server/git_push.sh +0 -57
  27. package/td/modules/td_server/openapi_server/__init__.py +0 -0
  28. package/td/modules/td_server/openapi_server/__main__.py +0 -19
  29. package/td/modules/td_server/openapi_server/controllers/__init__.py +0 -0
  30. package/td/modules/td_server/openapi_server/controllers/default_controller.py +0 -162
  31. package/td/modules/td_server/openapi_server/controllers/security_controller.py +0 -2
  32. package/td/modules/td_server/openapi_server/encoder.py +0 -19
  33. package/td/modules/td_server/openapi_server/models/__init__.py +0 -33
  34. package/td/modules/td_server/openapi_server/models/base_model.py +0 -68
  35. package/td/modules/td_server/openapi_server/models/create_node200_response.py +0 -125
  36. package/td/modules/td_server/openapi_server/models/create_node200_response_data.py +0 -63
  37. package/td/modules/td_server/openapi_server/models/create_node_request.py +0 -123
  38. package/td/modules/td_server/openapi_server/models/delete_node200_response.py +0 -125
  39. package/td/modules/td_server/openapi_server/models/delete_node200_response_data.py +0 -91
  40. package/td/modules/td_server/openapi_server/models/exec_node_method200_response.py +0 -125
  41. package/td/modules/td_server/openapi_server/models/exec_node_method200_response_data.py +0 -65
  42. package/td/modules/td_server/openapi_server/models/exec_node_method_request.py +0 -153
  43. package/td/modules/td_server/openapi_server/models/exec_node_method_request_args_inner.py +0 -34
  44. package/td/modules/td_server/openapi_server/models/exec_python_script200_response.py +0 -125
  45. package/td/modules/td_server/openapi_server/models/exec_python_script200_response_data.py +0 -65
  46. package/td/modules/td_server/openapi_server/models/exec_python_script200_response_data_result.py +0 -63
  47. package/td/modules/td_server/openapi_server/models/exec_python_script_request.py +0 -65
  48. package/td/modules/td_server/openapi_server/models/get_node_detail200_response.py +0 -125
  49. package/td/modules/td_server/openapi_server/models/get_nodes200_response.py +0 -125
  50. package/td/modules/td_server/openapi_server/models/get_nodes200_response_data.py +0 -65
  51. package/td/modules/td_server/openapi_server/models/get_td_info200_response.py +0 -125
  52. package/td/modules/td_server/openapi_server/models/get_td_info200_response_data.py +0 -155
  53. package/td/modules/td_server/openapi_server/models/get_td_python_class_details200_response.py +0 -125
  54. package/td/modules/td_server/openapi_server/models/get_td_python_classes200_response.py +0 -125
  55. package/td/modules/td_server/openapi_server/models/get_td_python_classes200_response_data.py +0 -63
  56. package/td/modules/td_server/openapi_server/models/td_node.py +0 -175
  57. package/td/modules/td_server/openapi_server/models/td_node_family_type.py +0 -44
  58. package/td/modules/td_server/openapi_server/models/td_python_class_details.py +0 -191
  59. package/td/modules/td_server/openapi_server/models/td_python_class_info.py +0 -127
  60. package/td/modules/td_server/openapi_server/models/td_python_method_info.py +0 -121
  61. package/td/modules/td_server/openapi_server/models/td_python_property_info.py +0 -123
  62. package/td/modules/td_server/openapi_server/models/update_node200_response.py +0 -125
  63. package/td/modules/td_server/openapi_server/models/update_node200_response_data.py +0 -149
  64. package/td/modules/td_server/openapi_server/models/update_node200_response_data_failed_inner.py +0 -91
  65. package/td/modules/td_server/openapi_server/models/update_node_request.py +0 -93
  66. package/td/modules/td_server/openapi_server/openapi/openapi.yaml +0 -975
  67. package/td/modules/td_server/openapi_server/test/__init__.py +0 -16
  68. package/td/modules/td_server/openapi_server/test/test_default_controller.py +0 -201
  69. package/td/modules/td_server/openapi_server/typing_utils.py +0 -30
  70. package/td/modules/td_server/openapi_server/util.py +0 -147
  71. package/td/modules/td_server/requirements.txt +0 -13
  72. package/td/modules/td_server/setup.py +0 -37
  73. package/td/modules/td_server/test-requirements.txt +0 -4
  74. package/td/modules/td_server/tox.ini +0 -11
  75. package/td/modules/utils/config.py +0 -7
  76. package/td/modules/utils/error_handling.py +0 -104
  77. package/td/modules/utils/logging.py +0 -23
  78. package/td/modules/utils/result.py +0 -40
  79. package/td/modules/utils/serialization.py +0 -57
  80. package/td/modules/utils/types.py +0 -33
  81. package/td/modules/utils/utils_logging.py +0 -60
  82. package/td/templates/mcp/api_controller_handlers.mustache +0 -63
@@ -1,125 +0,0 @@
1
- from datetime import date, datetime # noqa: F401
2
-
3
- from typing import List, Dict # noqa: F401
4
-
5
- from openapi_server.models.base_model import Model
6
- from openapi_server.models.get_td_python_classes200_response_data import GetTdPythonClasses200ResponseData
7
- from openapi_server import util
8
-
9
- from openapi_server.models.get_td_python_classes200_response_data import GetTdPythonClasses200ResponseData # noqa: E501
10
-
11
- class GetTdPythonClasses200Response(Model):
12
- """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
-
14
- Do not edit the class manually.
15
- """
16
-
17
- def __init__(self, success=None, data=None, error=None): # noqa: E501
18
- """GetTdPythonClasses200Response - a model defined in OpenAPI
19
-
20
- :param success: The success of this GetTdPythonClasses200Response. # noqa: E501
21
- :type success: bool
22
- :param data: The data of this GetTdPythonClasses200Response. # noqa: E501
23
- :type data: GetTdPythonClasses200ResponseData
24
- :param error: The error of this GetTdPythonClasses200Response. # noqa: E501
25
- :type error: str
26
- """
27
- self.openapi_types = {
28
- 'success': bool,
29
- 'data': GetTdPythonClasses200ResponseData,
30
- 'error': str
31
- }
32
-
33
- self.attribute_map = {
34
- 'success': 'success',
35
- 'data': 'data',
36
- 'error': 'error'
37
- }
38
-
39
- self._success = success
40
- self._data = data
41
- self._error = error
42
-
43
- @classmethod
44
- def from_dict(cls, dikt) -> 'GetTdPythonClasses200Response':
45
- """Returns the dict as a model
46
-
47
- :param dikt: A dict.
48
- :type: dict
49
- :return: The get_td_python_classes_200_response of this GetTdPythonClasses200Response. # noqa: E501
50
- :rtype: GetTdPythonClasses200Response
51
- """
52
- return util.deserialize_model(dikt, cls)
53
-
54
- @property
55
- def success(self) -> bool:
56
- """Gets the success of this GetTdPythonClasses200Response.
57
-
58
- Whether the operation was successful # noqa: E501
59
-
60
- :return: The success of this GetTdPythonClasses200Response.
61
- :rtype: bool
62
- """
63
- return self._success
64
-
65
- @success.setter
66
- def success(self, success: bool):
67
- """Sets the success of this GetTdPythonClasses200Response.
68
-
69
- Whether the operation was successful # noqa: E501
70
-
71
- :param success: The success of this GetTdPythonClasses200Response.
72
- :type success: bool
73
- """
74
- if success is None:
75
- raise ValueError("Invalid value for `success`, must not be `None`") # noqa: E501
76
-
77
- self._success = success
78
-
79
- @property
80
- def data(self) -> GetTdPythonClasses200ResponseData:
81
- """Gets the data of this GetTdPythonClasses200Response.
82
-
83
-
84
- :return: The data of this GetTdPythonClasses200Response.
85
- :rtype: GetTdPythonClasses200ResponseData
86
- """
87
- return self._data
88
-
89
- @data.setter
90
- def data(self, data: GetTdPythonClasses200ResponseData):
91
- """Sets the data of this GetTdPythonClasses200Response.
92
-
93
-
94
- :param data: The data of this GetTdPythonClasses200Response.
95
- :type data: GetTdPythonClasses200ResponseData
96
- """
97
- if data is None:
98
- raise ValueError("Invalid value for `data`, must not be `None`") # noqa: E501
99
-
100
- self._data = data
101
-
102
- @property
103
- def error(self) -> str:
104
- """Gets the error of this GetTdPythonClasses200Response.
105
-
106
- Error message if the operation was not successful # noqa: E501
107
-
108
- :return: The error of this GetTdPythonClasses200Response.
109
- :rtype: str
110
- """
111
- return self._error
112
-
113
- @error.setter
114
- def error(self, error: str):
115
- """Sets the error of this GetTdPythonClasses200Response.
116
-
117
- Error message if the operation was not successful # noqa: E501
118
-
119
- :param error: The error of this GetTdPythonClasses200Response.
120
- :type error: str
121
- """
122
- if error is None:
123
- raise ValueError("Invalid value for `error`, must not be `None`") # noqa: E501
124
-
125
- self._error = error
@@ -1,63 +0,0 @@
1
- from datetime import date, datetime # noqa: F401
2
-
3
- from typing import List, Dict # noqa: F401
4
-
5
- from openapi_server.models.base_model import Model
6
- from openapi_server.models.td_python_class_info import TdPythonClassInfo
7
- from openapi_server import util
8
-
9
- from openapi_server.models.td_python_class_info import TdPythonClassInfo # noqa: E501
10
-
11
- class GetTdPythonClasses200ResponseData(Model):
12
- """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
13
-
14
- Do not edit the class manually.
15
- """
16
-
17
- def __init__(self, classes=None): # noqa: E501
18
- """GetTdPythonClasses200ResponseData - a model defined in OpenAPI
19
-
20
- :param classes: The classes of this GetTdPythonClasses200ResponseData. # noqa: E501
21
- :type classes: List[TdPythonClassInfo]
22
- """
23
- self.openapi_types = {
24
- 'classes': List[TdPythonClassInfo]
25
- }
26
-
27
- self.attribute_map = {
28
- 'classes': 'classes'
29
- }
30
-
31
- self._classes = classes
32
-
33
- @classmethod
34
- def from_dict(cls, dikt) -> 'GetTdPythonClasses200ResponseData':
35
- """Returns the dict as a model
36
-
37
- :param dikt: A dict.
38
- :type: dict
39
- :return: The get_td_python_classes_200_response_data of this GetTdPythonClasses200ResponseData. # noqa: E501
40
- :rtype: GetTdPythonClasses200ResponseData
41
- """
42
- return util.deserialize_model(dikt, cls)
43
-
44
- @property
45
- def classes(self) -> List[TdPythonClassInfo]:
46
- """Gets the classes of this GetTdPythonClasses200ResponseData.
47
-
48
-
49
- :return: The classes of this GetTdPythonClasses200ResponseData.
50
- :rtype: List[TdPythonClassInfo]
51
- """
52
- return self._classes
53
-
54
- @classes.setter
55
- def classes(self, classes: List[TdPythonClassInfo]):
56
- """Sets the classes of this GetTdPythonClasses200ResponseData.
57
-
58
-
59
- :param classes: The classes of this GetTdPythonClasses200ResponseData.
60
- :type classes: List[TdPythonClassInfo]
61
- """
62
-
63
- self._classes = classes
@@ -1,175 +0,0 @@
1
- from datetime import date, datetime # noqa: F401
2
-
3
- from typing import List, Dict # noqa: F401
4
-
5
- from openapi_server.models.base_model import Model
6
- from openapi_server import util
7
-
8
-
9
- class TdNode(Model):
10
- """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
-
12
- Do not edit the class manually.
13
- """
14
-
15
- def __init__(self, id=None, op_type=None, name=None, path=None, properties=None): # noqa: E501
16
- """TdNode - a model defined in OpenAPI
17
-
18
- :param id: The id of this TdNode. # noqa: E501
19
- :type id: int
20
- :param op_type: The op_type of this TdNode. # noqa: E501
21
- :type op_type: str
22
- :param name: The name of this TdNode. # noqa: E501
23
- :type name: str
24
- :param path: The path of this TdNode. # noqa: E501
25
- :type path: str
26
- :param properties: The properties of this TdNode. # noqa: E501
27
- :type properties: Dict[str, object]
28
- """
29
- self.openapi_types = {
30
- 'id': int,
31
- 'op_type': str,
32
- 'name': str,
33
- 'path': str,
34
- 'properties': Dict[str, object]
35
- }
36
-
37
- self.attribute_map = {
38
- 'id': 'id',
39
- 'op_type': 'opType',
40
- 'name': 'name',
41
- 'path': 'path',
42
- 'properties': 'properties'
43
- }
44
-
45
- self._id = id
46
- self._op_type = op_type
47
- self._name = name
48
- self._path = path
49
- self._properties = properties
50
-
51
- @classmethod
52
- def from_dict(cls, dikt) -> 'TdNode':
53
- """Returns the dict as a model
54
-
55
- :param dikt: A dict.
56
- :type: dict
57
- :return: The TdNode of this TdNode. # noqa: E501
58
- :rtype: TdNode
59
- """
60
- return util.deserialize_model(dikt, cls)
61
-
62
- @property
63
- def id(self) -> int:
64
- """Gets the id of this TdNode.
65
-
66
-
67
- :return: The id of this TdNode.
68
- :rtype: int
69
- """
70
- return self._id
71
-
72
- @id.setter
73
- def id(self, id: int):
74
- """Sets the id of this TdNode.
75
-
76
-
77
- :param id: The id of this TdNode.
78
- :type id: int
79
- """
80
- if id is None:
81
- raise ValueError("Invalid value for `id`, must not be `None`") # noqa: E501
82
-
83
- self._id = id
84
-
85
- @property
86
- def op_type(self) -> str:
87
- """Gets the op_type of this TdNode.
88
-
89
-
90
- :return: The op_type of this TdNode.
91
- :rtype: str
92
- """
93
- return self._op_type
94
-
95
- @op_type.setter
96
- def op_type(self, op_type: str):
97
- """Sets the op_type of this TdNode.
98
-
99
-
100
- :param op_type: The op_type of this TdNode.
101
- :type op_type: str
102
- """
103
- if op_type is None:
104
- raise ValueError("Invalid value for `op_type`, must not be `None`") # noqa: E501
105
-
106
- self._op_type = op_type
107
-
108
- @property
109
- def name(self) -> str:
110
- """Gets the name of this TdNode.
111
-
112
-
113
- :return: The name of this TdNode.
114
- :rtype: str
115
- """
116
- return self._name
117
-
118
- @name.setter
119
- def name(self, name: str):
120
- """Sets the name of this TdNode.
121
-
122
-
123
- :param name: The name of this TdNode.
124
- :type name: str
125
- """
126
- if name is None:
127
- raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
128
-
129
- self._name = name
130
-
131
- @property
132
- def path(self) -> str:
133
- """Gets the path of this TdNode.
134
-
135
-
136
- :return: The path of this TdNode.
137
- :rtype: str
138
- """
139
- return self._path
140
-
141
- @path.setter
142
- def path(self, path: str):
143
- """Sets the path of this TdNode.
144
-
145
-
146
- :param path: The path of this TdNode.
147
- :type path: str
148
- """
149
- if path is None:
150
- raise ValueError("Invalid value for `path`, must not be `None`") # noqa: E501
151
-
152
- self._path = path
153
-
154
- @property
155
- def properties(self) -> Dict[str, object]:
156
- """Gets the properties of this TdNode.
157
-
158
-
159
- :return: The properties of this TdNode.
160
- :rtype: Dict[str, object]
161
- """
162
- return self._properties
163
-
164
- @properties.setter
165
- def properties(self, properties: Dict[str, object]):
166
- """Sets the properties of this TdNode.
167
-
168
-
169
- :param properties: The properties of this TdNode.
170
- :type properties: Dict[str, object]
171
- """
172
- if properties is None:
173
- raise ValueError("Invalid value for `properties`, must not be `None`") # noqa: E501
174
-
175
- self._properties = properties
@@ -1,44 +0,0 @@
1
- from datetime import date, datetime # noqa: F401
2
-
3
- from typing import List, Dict # noqa: F401
4
-
5
- from openapi_server.models.base_model import Model
6
- from openapi_server import util
7
-
8
-
9
- class TdNodeFamilyType(Model):
10
- """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
-
12
- Do not edit the class manually.
13
- """
14
-
15
- """
16
- allowed enum values
17
- """
18
- COMP = 'COMP'
19
- CHOP = 'CHOP'
20
- TOP = 'TOP'
21
- SOP = 'SOP'
22
- DAT = 'DAT'
23
- MAT = 'MAT'
24
- CUSTOM = 'CUSTOM'
25
- def __init__(self): # noqa: E501
26
- """TdNodeFamilyType - a model defined in OpenAPI
27
-
28
- """
29
- self.openapi_types = {
30
- }
31
-
32
- self.attribute_map = {
33
- }
34
-
35
- @classmethod
36
- def from_dict(cls, dikt) -> 'TdNodeFamilyType':
37
- """Returns the dict as a model
38
-
39
- :param dikt: A dict.
40
- :type: dict
41
- :return: The TdNodeFamilyType of this TdNodeFamilyType. # noqa: E501
42
- :rtype: TdNodeFamilyType
43
- """
44
- return util.deserialize_model(dikt, cls)
@@ -1,191 +0,0 @@
1
- from datetime import date, datetime # noqa: F401
2
-
3
- from typing import List, Dict # noqa: F401
4
-
5
- from openapi_server.models.base_model import Model
6
- from openapi_server.models.td_python_method_info import TdPythonMethodInfo
7
- from openapi_server.models.td_python_property_info import TdPythonPropertyInfo
8
- from openapi_server import util
9
-
10
- from openapi_server.models.td_python_method_info import TdPythonMethodInfo # noqa: E501
11
- from openapi_server.models.td_python_property_info import TdPythonPropertyInfo # noqa: E501
12
-
13
- class TdPythonClassDetails(Model):
14
- """NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
15
-
16
- Do not edit the class manually.
17
- """
18
-
19
- def __init__(self, name=None, type=None, description=None, methods=None, properties=None): # noqa: E501
20
- """TdPythonClassDetails - a model defined in OpenAPI
21
-
22
- :param name: The name of this TdPythonClassDetails. # noqa: E501
23
- :type name: str
24
- :param type: The type of this TdPythonClassDetails. # noqa: E501
25
- :type type: str
26
- :param description: The description of this TdPythonClassDetails. # noqa: E501
27
- :type description: str
28
- :param methods: The methods of this TdPythonClassDetails. # noqa: E501
29
- :type methods: List[TdPythonMethodInfo]
30
- :param properties: The properties of this TdPythonClassDetails. # noqa: E501
31
- :type properties: List[TdPythonPropertyInfo]
32
- """
33
- self.openapi_types = {
34
- 'name': str,
35
- 'type': str,
36
- 'description': str,
37
- 'methods': List[TdPythonMethodInfo],
38
- 'properties': List[TdPythonPropertyInfo]
39
- }
40
-
41
- self.attribute_map = {
42
- 'name': 'name',
43
- 'type': 'type',
44
- 'description': 'description',
45
- 'methods': 'methods',
46
- 'properties': 'properties'
47
- }
48
-
49
- self._name = name
50
- self._type = type
51
- self._description = description
52
- self._methods = methods
53
- self._properties = properties
54
-
55
- @classmethod
56
- def from_dict(cls, dikt) -> 'TdPythonClassDetails':
57
- """Returns the dict as a model
58
-
59
- :param dikt: A dict.
60
- :type: dict
61
- :return: The TdPythonClassDetails of this TdPythonClassDetails. # noqa: E501
62
- :rtype: TdPythonClassDetails
63
- """
64
- return util.deserialize_model(dikt, cls)
65
-
66
- @property
67
- def name(self) -> str:
68
- """Gets the name of this TdPythonClassDetails.
69
-
70
- Name of the class or module # noqa: E501
71
-
72
- :return: The name of this TdPythonClassDetails.
73
- :rtype: str
74
- """
75
- return self._name
76
-
77
- @name.setter
78
- def name(self, name: str):
79
- """Sets the name of this TdPythonClassDetails.
80
-
81
- Name of the class or module # noqa: E501
82
-
83
- :param name: The name of this TdPythonClassDetails.
84
- :type name: str
85
- """
86
- if name is None:
87
- raise ValueError("Invalid value for `name`, must not be `None`") # noqa: E501
88
-
89
- self._name = name
90
-
91
- @property
92
- def type(self) -> str:
93
- """Gets the type of this TdPythonClassDetails.
94
-
95
- Type of the Python entity # noqa: E501
96
-
97
- :return: The type of this TdPythonClassDetails.
98
- :rtype: str
99
- """
100
- return self._type
101
-
102
- @type.setter
103
- def type(self, type: str):
104
- """Sets the type of this TdPythonClassDetails.
105
-
106
- Type of the Python entity # noqa: E501
107
-
108
- :param type: The type of this TdPythonClassDetails.
109
- :type type: str
110
- """
111
- allowed_values = ["class", "module", "function", "object"] # noqa: E501
112
- if type not in allowed_values:
113
- raise ValueError(
114
- "Invalid value for `type` ({0}), must be one of {1}"
115
- .format(type, allowed_values)
116
- )
117
-
118
- self._type = type
119
-
120
- @property
121
- def description(self) -> str:
122
- """Gets the description of this TdPythonClassDetails.
123
-
124
- Description of the class or module # noqa: E501
125
-
126
- :return: The description of this TdPythonClassDetails.
127
- :rtype: str
128
- """
129
- return self._description
130
-
131
- @description.setter
132
- def description(self, description: str):
133
- """Sets the description of this TdPythonClassDetails.
134
-
135
- Description of the class or module # noqa: E501
136
-
137
- :param description: The description of this TdPythonClassDetails.
138
- :type description: str
139
- """
140
-
141
- self._description = description
142
-
143
- @property
144
- def methods(self) -> List[TdPythonMethodInfo]:
145
- """Gets the methods of this TdPythonClassDetails.
146
-
147
- List of methods available in the class or module # noqa: E501
148
-
149
- :return: The methods of this TdPythonClassDetails.
150
- :rtype: List[TdPythonMethodInfo]
151
- """
152
- return self._methods
153
-
154
- @methods.setter
155
- def methods(self, methods: List[TdPythonMethodInfo]):
156
- """Sets the methods of this TdPythonClassDetails.
157
-
158
- List of methods available in the class or module # noqa: E501
159
-
160
- :param methods: The methods of this TdPythonClassDetails.
161
- :type methods: List[TdPythonMethodInfo]
162
- """
163
- if methods is None:
164
- raise ValueError("Invalid value for `methods`, must not be `None`") # noqa: E501
165
-
166
- self._methods = methods
167
-
168
- @property
169
- def properties(self) -> List[TdPythonPropertyInfo]:
170
- """Gets the properties of this TdPythonClassDetails.
171
-
172
- List of properties available in the class or module # noqa: E501
173
-
174
- :return: The properties of this TdPythonClassDetails.
175
- :rtype: List[TdPythonPropertyInfo]
176
- """
177
- return self._properties
178
-
179
- @properties.setter
180
- def properties(self, properties: List[TdPythonPropertyInfo]):
181
- """Sets the properties of this TdPythonClassDetails.
182
-
183
- List of properties available in the class or module # noqa: E501
184
-
185
- :param properties: The properties of this TdPythonClassDetails.
186
- :type properties: List[TdPythonPropertyInfo]
187
- """
188
- if properties is None:
189
- raise ValueError("Invalid value for `properties`, must not be `None`") # noqa: E501
190
-
191
- self._properties = properties