Coretex
parameter_type.py
1 # Copyright (C) 2023 Coretex LLC
2 
3 # This file is part of Coretex.ai
4 
5 # This program is free software: you can redistribute it and/or modify
6 # it under the terms of the GNU Affero General Public License as
7 # published by the Free Software Foundation, either version 3 of the
8 # License, or (at your option) any later version.
9 
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU Affero General Public License for more details.
14 
15 # You should have received a copy of the GNU Affero General Public License
16 # along with this program. If not, see <https://www.gnu.org/licenses/>.
17 
18 from enum import Enum
19 
20 
21 class ParameterType(Enum):
22 
23  # Single value parameters
24  integer = "int"
25  floatingPoint = "float"
26  string = "str"
27  boolean = "bool"
28  dataset = "dataset"
29  model = "model"
30  imuVectors = "IMUVectors"
31  enum = "enum"
32  range = "range"
33  awsSecret = "aws_secret"
34  gitSecret = "git_secret"
35  credentialsSecret = "credentials_secret"
36 
37  # List parameters
38  intList = "list[int]"
39  floatList = "list[float]"
40  strList = "list[str]"
41  datasetList = "list[dataset]"
42  modelList = "list[model]"
43  enumList = "list[enum]"
44  awsSecretList = "list[aws_secret]"
45  gitSecretList = "list[git_secret]"
46  credentialsSecretList = "list[credentials_secret]"