match-predicting-ann-server-pub-api 5.2__tar.gz

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.

Potentially problematic release.


This version of match-predicting-ann-server-pub-api might be problematic. Click here for more details.

Files changed (28) hide show
  1. match_predicting_ann_server_pub_api-5.2/PKG-INFO +19 -0
  2. match_predicting_ann_server_pub_api-5.2/README.md +49 -0
  3. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/__init__.py +0 -0
  4. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/__main__.py +19 -0
  5. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/controllers/__init__.py +0 -0
  6. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/controllers/network_controller.py +29 -0
  7. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/controllers/security_controller.py +2 -0
  8. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/encoder.py +19 -0
  9. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/__init__.py +8 -0
  10. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/base_model.py +68 -0
  11. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/network_dto.py +113 -0
  12. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/predicting_data.py +89 -0
  13. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/training_data.py +143 -0
  14. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/training_match_dto.py +87 -0
  15. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/training_network_dto.py +191 -0
  16. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/models/training_request_dto.py +167 -0
  17. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/openapi/openapi.yaml +243 -0
  18. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/test/__init__.py +16 -0
  19. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/typing_utils.py +30 -0
  20. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api/util.py +147 -0
  21. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api.egg-info/PKG-INFO +19 -0
  22. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api.egg-info/SOURCES.txt +26 -0
  23. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api.egg-info/dependency_links.txt +1 -0
  24. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api.egg-info/entry_points.txt +2 -0
  25. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api.egg-info/requires.txt +3 -0
  26. match_predicting_ann_server_pub_api-5.2/match_predicting_ann_server_pub_api.egg-info/top_level.txt +1 -0
  27. match_predicting_ann_server_pub_api-5.2/setup.cfg +4 -0
  28. match_predicting_ann_server_pub_api-5.2/setup.py +36 -0
@@ -0,0 +1,19 @@
1
+ Metadata-Version: 2.4
2
+ Name: match_predicting_ann_server_pub_api
3
+ Version: 5.2
4
+ Summary: Match Predicting ANN Server Public API
5
+ Home-page: https://github.com/magistvan/match-predicting-ann-server-client
6
+ Author-email: magistvan@yahoo.com
7
+ Keywords: OpenAPI,Match Predicting ANN Server Public API
8
+ Requires-Dist: connexion>=2.0.2
9
+ Requires-Dist: swagger-ui-bundle>=0.0.2
10
+ Requires-Dist: python_dateutil>=2.6.0
11
+ Dynamic: author-email
12
+ Dynamic: description
13
+ Dynamic: home-page
14
+ Dynamic: keywords
15
+ Dynamic: requires-dist
16
+ Dynamic: summary
17
+
18
+ No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
19
+
@@ -0,0 +1,49 @@
1
+ # OpenAPI generated server
2
+
3
+ ## Overview
4
+ This server was generated by the [OpenAPI Generator](https://openapi-generator.tech) project. By using the
5
+ [OpenAPI-Spec](https://openapis.org) from a remote server, you can easily generate a server stub. This
6
+ is an example of building a OpenAPI-enabled Flask server.
7
+
8
+ This example uses the [Connexion](https://github.com/zalando/connexion) library on top of Flask.
9
+
10
+ ## Requirements
11
+ Python 3.5.2+
12
+
13
+ ## Usage
14
+ To run the server, please execute the following from the root directory:
15
+
16
+ ```
17
+ pip3 install -r requirements.txt
18
+ python3 -m match_predicting_ann_server_pub_api
19
+ ```
20
+
21
+ and open your browser to here:
22
+
23
+ ```
24
+ http://localhost:8080/ui/
25
+ ```
26
+
27
+ Your OpenAPI definition lives here:
28
+
29
+ ```
30
+ http://localhost:8080/openapi.json
31
+ ```
32
+
33
+ To launch the integration tests, use tox:
34
+ ```
35
+ sudo pip install tox
36
+ tox
37
+ ```
38
+
39
+ ## Running with Docker
40
+
41
+ To run the server on a Docker container, please execute the following from the root directory:
42
+
43
+ ```bash
44
+ # building the image
45
+ docker build -t match_predicting_ann_server_pub_api .
46
+
47
+ # starting up a container
48
+ docker run -p 8080:8080 match_predicting_ann_server_pub_api
49
+ ```
@@ -0,0 +1,19 @@
1
+ #!/usr/bin/env python3
2
+
3
+ import connexion
4
+
5
+ from match_predicting_ann_server_pub_api import encoder
6
+
7
+
8
+ def main():
9
+ app = connexion.App(__name__, specification_dir='./openapi/')
10
+ app.app.json_encoder = encoder.JSONEncoder
11
+ app.add_api('openapi.yaml',
12
+ arguments={'title': 'Match Predicting ANN Server Public API'},
13
+ pythonic_params=True)
14
+
15
+ app.run(port=8080)
16
+
17
+
18
+ if __name__ == '__main__':
19
+ main()
@@ -0,0 +1,29 @@
1
+ # coding: utf-8
2
+ from flask import request, jsonify, Flask
3
+ from flask.views import MethodView
4
+ from injector import Injector, inject
5
+
6
+ from match_predicting_ann_server_pub_api.models.predicting_data import PredictingData
7
+ from match_predicting_ann_server_pub_api.models.training_data import TrainingData
8
+
9
+ class NetworkControllerApi(MethodView):
10
+ def __init__(self):
11
+ pass
12
+
13
+ def predict_result(self):
14
+ """POST /api/network/predict
15
+ Predicts the result using the given network and input data
16
+ """
17
+ pass
18
+ def start_training(self):
19
+ """POST /api/network/train
20
+ Starts the training with the given data
21
+ """
22
+ pass
23
+
24
+
25
+ def register_NetworkController_routes(app: Flask, injector: Injector):
26
+ controller = injector.get(NetworkControllerApi)
27
+ app.add_url_rule("/api/network/predict", view_func=controller.predict_result, methods=['POST'])
28
+ app.add_url_rule("/api/network/train", view_func=controller.start_training, methods=['POST'])
29
+
@@ -0,0 +1,19 @@
1
+ from connexion.apps.flask_app import FlaskJSONEncoder
2
+
3
+ from match_predicting_ann_server_pub_api.models.base_model import Model
4
+
5
+
6
+ class JSONEncoder(FlaskJSONEncoder):
7
+ include_nulls = False
8
+
9
+ def default(self, o):
10
+ if isinstance(o, Model):
11
+ dikt = {}
12
+ for attr in o.openapi_types:
13
+ value = getattr(o, attr)
14
+ if value is None and not self.include_nulls:
15
+ continue
16
+ attr = o.attribute_map[attr]
17
+ dikt[attr] = value
18
+ return dikt
19
+ return FlaskJSONEncoder.default(self, o)
@@ -0,0 +1,8 @@
1
+ # flake8: noqa
2
+ # import models into model package
3
+ from match_predicting_ann_server_pub_api.models.network_dto import NetworkDTO
4
+ from match_predicting_ann_server_pub_api.models.predicting_data import PredictingData
5
+ from match_predicting_ann_server_pub_api.models.training_data import TrainingData
6
+ from match_predicting_ann_server_pub_api.models.training_match_dto import TrainingMatchDTO
7
+ from match_predicting_ann_server_pub_api.models.training_network_dto import TrainingNetworkDTO
8
+ from match_predicting_ann_server_pub_api.models.training_request_dto import TrainingRequestDTO
@@ -0,0 +1,68 @@
1
+ import pprint
2
+
3
+ import typing
4
+
5
+ from match_predicting_ann_server_pub_api import util
6
+
7
+ T = typing.TypeVar('T')
8
+
9
+
10
+ class Model:
11
+ # openapiTypes: The key is attribute name and the
12
+ # value is attribute type.
13
+ openapi_types: typing.Dict[str, type] = {}
14
+
15
+ # attributeMap: The key is attribute name and the
16
+ # value is json key in definition.
17
+ attribute_map: typing.Dict[str, str] = {}
18
+
19
+ @classmethod
20
+ def from_dict(cls: typing.Type[T], dikt) -> T:
21
+ """Returns the dict as a model"""
22
+ return util.deserialize_model(dikt, cls)
23
+
24
+ def to_dict(self):
25
+ """Returns the model properties as a dict
26
+
27
+ :rtype: dict
28
+ """
29
+ result = {}
30
+
31
+ for attr in self.openapi_types:
32
+ value = getattr(self, attr)
33
+ if isinstance(value, list):
34
+ result[attr] = list(map(
35
+ lambda x: x.to_dict() if hasattr(x, "to_dict") else x,
36
+ value
37
+ ))
38
+ elif hasattr(value, "to_dict"):
39
+ result[attr] = value.to_dict()
40
+ elif isinstance(value, dict):
41
+ result[attr] = dict(map(
42
+ lambda item: (item[0], item[1].to_dict())
43
+ if hasattr(item[1], "to_dict") else item,
44
+ value.items()
45
+ ))
46
+ else:
47
+ result[attr] = value
48
+
49
+ return result
50
+
51
+ def to_str(self):
52
+ """Returns the string representation of the model
53
+
54
+ :rtype: str
55
+ """
56
+ return pprint.pformat(self.to_dict())
57
+
58
+ def __repr__(self):
59
+ """For `print` and `pprint`"""
60
+ return self.to_str()
61
+
62
+ def __eq__(self, other):
63
+ """Returns true if both objects are equal"""
64
+ return self.__dict__ == other.__dict__
65
+
66
+ def __ne__(self, other):
67
+ """Returns true if both objects are not equal"""
68
+ return not self == other
@@ -0,0 +1,113 @@
1
+ from datetime import date, datetime # noqa: F401
2
+
3
+ from typing import List, Dict # noqa: F401
4
+
5
+ from match_predicting_ann_server_pub_api.models.base_model import Model
6
+ from match_predicting_ann_server_pub_api import util
7
+
8
+
9
+ class NetworkDTO(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, sizes=None, biases=None, weights=None): # noqa: E501
16
+ """NetworkDTO - a model defined in OpenAPI
17
+
18
+ :param sizes: The sizes of this NetworkDTO. # noqa: E501
19
+ :type sizes: str
20
+ :param biases: The biases of this NetworkDTO. # noqa: E501
21
+ :type biases: str
22
+ :param weights: The weights of this NetworkDTO. # noqa: E501
23
+ :type weights: str
24
+ """
25
+ self.openapi_types = {
26
+ 'sizes': str,
27
+ 'biases': str,
28
+ 'weights': str
29
+ }
30
+
31
+ self.attribute_map = {
32
+ 'sizes': 'sizes',
33
+ 'biases': 'biases',
34
+ 'weights': 'weights'
35
+ }
36
+
37
+ self._sizes = sizes
38
+ self._biases = biases
39
+ self._weights = weights
40
+
41
+ @classmethod
42
+ def from_dict(cls, dikt) -> 'NetworkDTO':
43
+ """Returns the dict as a model
44
+
45
+ :param dikt: A dict.
46
+ :type: dict
47
+ :return: The NetworkDTO of this NetworkDTO. # noqa: E501
48
+ :rtype: NetworkDTO
49
+ """
50
+ return util.deserialize_model(dikt, cls)
51
+
52
+ @property
53
+ def sizes(self) -> str:
54
+ """Gets the sizes of this NetworkDTO.
55
+
56
+
57
+ :return: The sizes of this NetworkDTO.
58
+ :rtype: str
59
+ """
60
+ return self._sizes
61
+
62
+ @sizes.setter
63
+ def sizes(self, sizes: str):
64
+ """Sets the sizes of this NetworkDTO.
65
+
66
+
67
+ :param sizes: The sizes of this NetworkDTO.
68
+ :type sizes: str
69
+ """
70
+
71
+ self._sizes = sizes
72
+
73
+ @property
74
+ def biases(self) -> str:
75
+ """Gets the biases of this NetworkDTO.
76
+
77
+
78
+ :return: The biases of this NetworkDTO.
79
+ :rtype: str
80
+ """
81
+ return self._biases
82
+
83
+ @biases.setter
84
+ def biases(self, biases: str):
85
+ """Sets the biases of this NetworkDTO.
86
+
87
+
88
+ :param biases: The biases of this NetworkDTO.
89
+ :type biases: str
90
+ """
91
+
92
+ self._biases = biases
93
+
94
+ @property
95
+ def weights(self) -> str:
96
+ """Gets the weights of this NetworkDTO.
97
+
98
+
99
+ :return: The weights of this NetworkDTO.
100
+ :rtype: str
101
+ """
102
+ return self._weights
103
+
104
+ @weights.setter
105
+ def weights(self, weights: str):
106
+ """Sets the weights of this NetworkDTO.
107
+
108
+
109
+ :param weights: The weights of this NetworkDTO.
110
+ :type weights: str
111
+ """
112
+
113
+ self._weights = weights
@@ -0,0 +1,89 @@
1
+ from datetime import date, datetime # noqa: F401
2
+
3
+ from typing import List, Dict # noqa: F401
4
+
5
+ from match_predicting_ann_server_pub_api.models.base_model import Model
6
+ from match_predicting_ann_server_pub_api.models.network_dto import NetworkDTO
7
+ from match_predicting_ann_server_pub_api import util
8
+
9
+ from match_predicting_ann_server_pub_api.models.network_dto import NetworkDTO # noqa: E501
10
+
11
+ class PredictingData(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, network_data=None, inputs=None): # noqa: E501
18
+ """PredictingData - a model defined in OpenAPI
19
+
20
+ :param network_data: The network_data of this PredictingData. # noqa: E501
21
+ :type network_data: NetworkDTO
22
+ :param inputs: The inputs of this PredictingData. # noqa: E501
23
+ :type inputs: List[float]
24
+ """
25
+ self.openapi_types = {
26
+ 'network_data': NetworkDTO,
27
+ 'inputs': List[float]
28
+ }
29
+
30
+ self.attribute_map = {
31
+ 'network_data': 'networkData',
32
+ 'inputs': 'inputs'
33
+ }
34
+
35
+ self._network_data = network_data
36
+ self._inputs = inputs
37
+
38
+ @classmethod
39
+ def from_dict(cls, dikt) -> 'PredictingData':
40
+ """Returns the dict as a model
41
+
42
+ :param dikt: A dict.
43
+ :type: dict
44
+ :return: The PredictingData of this PredictingData. # noqa: E501
45
+ :rtype: PredictingData
46
+ """
47
+ return util.deserialize_model(dikt, cls)
48
+
49
+ @property
50
+ def network_data(self) -> NetworkDTO:
51
+ """Gets the network_data of this PredictingData.
52
+
53
+
54
+ :return: The network_data of this PredictingData.
55
+ :rtype: NetworkDTO
56
+ """
57
+ return self._network_data
58
+
59
+ @network_data.setter
60
+ def network_data(self, network_data: NetworkDTO):
61
+ """Sets the network_data of this PredictingData.
62
+
63
+
64
+ :param network_data: The network_data of this PredictingData.
65
+ :type network_data: NetworkDTO
66
+ """
67
+
68
+ self._network_data = network_data
69
+
70
+ @property
71
+ def inputs(self) -> List[float]:
72
+ """Gets the inputs of this PredictingData.
73
+
74
+
75
+ :return: The inputs of this PredictingData.
76
+ :rtype: List[float]
77
+ """
78
+ return self._inputs
79
+
80
+ @inputs.setter
81
+ def inputs(self, inputs: List[float]):
82
+ """Sets the inputs of this PredictingData.
83
+
84
+
85
+ :param inputs: The inputs of this PredictingData.
86
+ :type inputs: List[float]
87
+ """
88
+
89
+ self._inputs = inputs
@@ -0,0 +1,143 @@
1
+ from datetime import date, datetime # noqa: F401
2
+
3
+ from typing import List, Dict # noqa: F401
4
+
5
+ from match_predicting_ann_server_pub_api.models.base_model import Model
6
+ from match_predicting_ann_server_pub_api.models.training_match_dto import TrainingMatchDTO
7
+ from match_predicting_ann_server_pub_api.models.training_request_dto import TrainingRequestDTO
8
+ from match_predicting_ann_server_pub_api import util
9
+
10
+ from match_predicting_ann_server_pub_api.models.training_match_dto import TrainingMatchDTO # noqa: E501
11
+ from match_predicting_ann_server_pub_api.models.training_request_dto import TrainingRequestDTO # noqa: E501
12
+
13
+ class TrainingData(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, training_dto=None, starting_time=None, matches=None, sizes=None): # noqa: E501
20
+ """TrainingData - a model defined in OpenAPI
21
+
22
+ :param training_dto: The training_dto of this TrainingData. # noqa: E501
23
+ :type training_dto: TrainingRequestDTO
24
+ :param starting_time: The starting_time of this TrainingData. # noqa: E501
25
+ :type starting_time: int
26
+ :param matches: The matches of this TrainingData. # noqa: E501
27
+ :type matches: List[TrainingMatchDTO]
28
+ :param sizes: The sizes of this TrainingData. # noqa: E501
29
+ :type sizes: List[int]
30
+ """
31
+ self.openapi_types = {
32
+ 'training_dto': TrainingRequestDTO,
33
+ 'starting_time': int,
34
+ 'matches': List[TrainingMatchDTO],
35
+ 'sizes': List[int]
36
+ }
37
+
38
+ self.attribute_map = {
39
+ 'training_dto': 'trainingDTO',
40
+ 'starting_time': 'startingTime',
41
+ 'matches': 'matches',
42
+ 'sizes': 'sizes'
43
+ }
44
+
45
+ self._training_dto = training_dto
46
+ self._starting_time = starting_time
47
+ self._matches = matches
48
+ self._sizes = sizes
49
+
50
+ @classmethod
51
+ def from_dict(cls, dikt) -> 'TrainingData':
52
+ """Returns the dict as a model
53
+
54
+ :param dikt: A dict.
55
+ :type: dict
56
+ :return: The TrainingData of this TrainingData. # noqa: E501
57
+ :rtype: TrainingData
58
+ """
59
+ return util.deserialize_model(dikt, cls)
60
+
61
+ @property
62
+ def training_dto(self) -> TrainingRequestDTO:
63
+ """Gets the training_dto of this TrainingData.
64
+
65
+
66
+ :return: The training_dto of this TrainingData.
67
+ :rtype: TrainingRequestDTO
68
+ """
69
+ return self._training_dto
70
+
71
+ @training_dto.setter
72
+ def training_dto(self, training_dto: TrainingRequestDTO):
73
+ """Sets the training_dto of this TrainingData.
74
+
75
+
76
+ :param training_dto: The training_dto of this TrainingData.
77
+ :type training_dto: TrainingRequestDTO
78
+ """
79
+
80
+ self._training_dto = training_dto
81
+
82
+ @property
83
+ def starting_time(self) -> int:
84
+ """Gets the starting_time of this TrainingData.
85
+
86
+
87
+ :return: The starting_time of this TrainingData.
88
+ :rtype: int
89
+ """
90
+ return self._starting_time
91
+
92
+ @starting_time.setter
93
+ def starting_time(self, starting_time: int):
94
+ """Sets the starting_time of this TrainingData.
95
+
96
+
97
+ :param starting_time: The starting_time of this TrainingData.
98
+ :type starting_time: int
99
+ """
100
+
101
+ self._starting_time = starting_time
102
+
103
+ @property
104
+ def matches(self) -> List[TrainingMatchDTO]:
105
+ """Gets the matches of this TrainingData.
106
+
107
+
108
+ :return: The matches of this TrainingData.
109
+ :rtype: List[TrainingMatchDTO]
110
+ """
111
+ return self._matches
112
+
113
+ @matches.setter
114
+ def matches(self, matches: List[TrainingMatchDTO]):
115
+ """Sets the matches of this TrainingData.
116
+
117
+
118
+ :param matches: The matches of this TrainingData.
119
+ :type matches: List[TrainingMatchDTO]
120
+ """
121
+
122
+ self._matches = matches
123
+
124
+ @property
125
+ def sizes(self) -> List[int]:
126
+ """Gets the sizes of this TrainingData.
127
+
128
+
129
+ :return: The sizes of this TrainingData.
130
+ :rtype: List[int]
131
+ """
132
+ return self._sizes
133
+
134
+ @sizes.setter
135
+ def sizes(self, sizes: List[int]):
136
+ """Sets the sizes of this TrainingData.
137
+
138
+
139
+ :param sizes: The sizes of this TrainingData.
140
+ :type sizes: List[int]
141
+ """
142
+
143
+ self._sizes = sizes
@@ -0,0 +1,87 @@
1
+ from datetime import date, datetime # noqa: F401
2
+
3
+ from typing import List, Dict # noqa: F401
4
+
5
+ from match_predicting_ann_server_pub_api.models.base_model import Model
6
+ from match_predicting_ann_server_pub_api import util
7
+
8
+
9
+ class TrainingMatchDTO(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, inputs=None, result=None): # noqa: E501
16
+ """TrainingMatchDTO - a model defined in OpenAPI
17
+
18
+ :param inputs: The inputs of this TrainingMatchDTO. # noqa: E501
19
+ :type inputs: List[float]
20
+ :param result: The result of this TrainingMatchDTO. # noqa: E501
21
+ :type result: List[int]
22
+ """
23
+ self.openapi_types = {
24
+ 'inputs': List[float],
25
+ 'result': List[int]
26
+ }
27
+
28
+ self.attribute_map = {
29
+ 'inputs': 'inputs',
30
+ 'result': 'result'
31
+ }
32
+
33
+ self._inputs = inputs
34
+ self._result = result
35
+
36
+ @classmethod
37
+ def from_dict(cls, dikt) -> 'TrainingMatchDTO':
38
+ """Returns the dict as a model
39
+
40
+ :param dikt: A dict.
41
+ :type: dict
42
+ :return: The TrainingMatchDTO of this TrainingMatchDTO. # noqa: E501
43
+ :rtype: TrainingMatchDTO
44
+ """
45
+ return util.deserialize_model(dikt, cls)
46
+
47
+ @property
48
+ def inputs(self) -> List[float]:
49
+ """Gets the inputs of this TrainingMatchDTO.
50
+
51
+
52
+ :return: The inputs of this TrainingMatchDTO.
53
+ :rtype: List[float]
54
+ """
55
+ return self._inputs
56
+
57
+ @inputs.setter
58
+ def inputs(self, inputs: List[float]):
59
+ """Sets the inputs of this TrainingMatchDTO.
60
+
61
+
62
+ :param inputs: The inputs of this TrainingMatchDTO.
63
+ :type inputs: List[float]
64
+ """
65
+
66
+ self._inputs = inputs
67
+
68
+ @property
69
+ def result(self) -> List[int]:
70
+ """Gets the result of this TrainingMatchDTO.
71
+
72
+
73
+ :return: The result of this TrainingMatchDTO.
74
+ :rtype: List[int]
75
+ """
76
+ return self._result
77
+
78
+ @result.setter
79
+ def result(self, result: List[int]):
80
+ """Sets the result of this TrainingMatchDTO.
81
+
82
+
83
+ :param result: The result of this TrainingMatchDTO.
84
+ :type result: List[int]
85
+ """
86
+
87
+ self._result = result