benchling-api-client 2.0.414__py3-none-any.whl → 2.0.416__py3-none-any.whl

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 (56) hide show
  1. benchling_api_client/models/container_content.py +183 -26
  2. benchling_api_client/models/entity.py +19 -7
  3. benchling_api_client/models/entity_or_inaccessible_resource.py +19 -7
  4. benchling_api_client/models/field_type.py +1 -0
  5. benchling_api_client/models/molecule_with_entity_type.py +787 -0
  6. benchling_api_client/models/molecule_with_entity_type_entity_type.py +22 -0
  7. benchling_api_client/models/registered_entities_list.py +89 -32
  8. benchling_api_client/models/request_response_samples_item_entity.py +216 -74
  9. benchling_api_client/models/rna_sequence_with_entity_type.py +1151 -0
  10. benchling_api_client/models/rna_sequence_with_entity_type_entity_type.py +22 -0
  11. benchling_api_client/models/simple_field_definition_type.py +1 -0
  12. benchling_api_client/v2/alpha/models/app_config_field_type.py +1 -0
  13. benchling_api_client/v2/alpha/models/field_type.py +1 -0
  14. benchling_api_client/v2/alpha/openapi.yaml +2 -0
  15. benchling_api_client/v2/beta/models/aa_sequence_with_entity_type.py +865 -0
  16. benchling_api_client/v2/beta/models/aa_sequence_with_entity_type_entity_type.py +22 -0
  17. benchling_api_client/v2/beta/models/app_config_field_type.py +1 -0
  18. benchling_api_client/v2/beta/models/container_content.py +183 -26
  19. benchling_api_client/v2/beta/models/custom_entity_creator.py +2 -100
  20. benchling_api_client/v2/beta/models/custom_entity_with_entity_type.py +747 -0
  21. benchling_api_client/v2/beta/models/custom_entity_with_entity_type_entity_type.py +22 -0
  22. benchling_api_client/v2/beta/models/dna_oligo_with_entity_type.py +972 -0
  23. benchling_api_client/v2/beta/models/dna_oligo_with_entity_type_entity_type.py +22 -0
  24. benchling_api_client/v2/beta/models/dna_sequence_with_entity_type.py +1102 -0
  25. benchling_api_client/v2/beta/models/dna_sequence_with_entity_type_entity_type.py +22 -0
  26. benchling_api_client/v2/beta/models/entity.py +19 -7
  27. benchling_api_client/v2/beta/models/entity_or_inaccessible_resource.py +19 -7
  28. benchling_api_client/v2/beta/models/field_type.py +1 -0
  29. benchling_api_client/v2/beta/models/mixture_creator.py +2 -100
  30. benchling_api_client/v2/beta/models/mixture_with_entity_type.py +867 -0
  31. benchling_api_client/v2/beta/models/mixture_with_entity_type_entity_type.py +22 -0
  32. benchling_api_client/v2/beta/models/molecule_with_entity_type.py +787 -0
  33. benchling_api_client/v2/beta/models/molecule_with_entity_type_entity_type.py +22 -0
  34. benchling_api_client/v2/beta/models/rna_oligo_with_entity_type.py +972 -0
  35. benchling_api_client/v2/beta/models/rna_oligo_with_entity_type_entity_type.py +22 -0
  36. benchling_api_client/v2/beta/models/rna_sequence.py +1109 -0
  37. benchling_api_client/v2/beta/models/rna_sequence_part.py +183 -0
  38. benchling_api_client/v2/beta/models/rna_sequence_with_entity_type.py +1151 -0
  39. benchling_api_client/v2/beta/models/rna_sequence_with_entity_type_entity_type.py +22 -0
  40. benchling_api_client/v2/beta/openapi.yaml +218 -6
  41. benchling_api_client/v2/stable/models/container_content.py +183 -26
  42. benchling_api_client/v2/stable/models/entity.py +19 -7
  43. benchling_api_client/v2/stable/models/entity_or_inaccessible_resource.py +19 -7
  44. benchling_api_client/v2/stable/models/field_type.py +1 -0
  45. benchling_api_client/v2/stable/models/molecule_with_entity_type.py +787 -0
  46. benchling_api_client/v2/stable/models/molecule_with_entity_type_entity_type.py +22 -0
  47. benchling_api_client/v2/stable/models/registered_entities_list.py +89 -32
  48. benchling_api_client/v2/stable/models/request_response_samples_item_entity.py +216 -74
  49. benchling_api_client/v2/stable/models/rna_sequence_with_entity_type.py +1151 -0
  50. benchling_api_client/v2/stable/models/rna_sequence_with_entity_type_entity_type.py +22 -0
  51. benchling_api_client/v2/stable/models/simple_field_definition_type.py +1 -0
  52. benchling_api_client/v2/stable/openapi.yaml +42 -22
  53. {benchling_api_client-2.0.414.dist-info → benchling_api_client-2.0.416.dist-info}/METADATA +1 -1
  54. {benchling_api_client-2.0.414.dist-info → benchling_api_client-2.0.416.dist-info}/RECORD +56 -30
  55. {benchling_api_client-2.0.414.dist-info → benchling_api_client-2.0.416.dist-info}/LICENSE +0 -0
  56. {benchling_api_client-2.0.414.dist-info → benchling_api_client-2.0.416.dist-info}/WHEEL +0 -0
@@ -0,0 +1,22 @@
1
+ from enum import Enum
2
+ from functools import lru_cache
3
+ from typing import cast
4
+
5
+ from ..extensions import Enums
6
+
7
+
8
+ class RnaSequenceWithEntityTypeEntityType(Enums.KnownString):
9
+ RNA_SEQUENCE = "rna_sequence"
10
+
11
+ def __str__(self) -> str:
12
+ return str(self.value)
13
+
14
+ @staticmethod
15
+ @lru_cache(maxsize=None)
16
+ def of_unknown(val: str) -> "RnaSequenceWithEntityTypeEntityType":
17
+ if not isinstance(val, str):
18
+ raise ValueError(
19
+ f"Value of RnaSequenceWithEntityTypeEntityType must be a string (encountered: {val})"
20
+ )
21
+ newcls = Enum("RnaSequenceWithEntityTypeEntityType", {"_UNKNOWN": val}, type=Enums.UnknownString) # type: ignore
22
+ return cast(RnaSequenceWithEntityTypeEntityType, getattr(newcls, "_UNKNOWN"))
@@ -10,6 +10,7 @@ class SimpleFieldDefinitionType(Enums.KnownString):
10
10
  AA_SEQUENCE_LINK = "aa_sequence_link"
11
11
  CUSTOM_ENTITY_LINK = "custom_entity_link"
12
12
  MIXTURE_LINK = "mixture_link"
13
+ MOLECULE_LINK = "molecule_link"
13
14
  BLOB_LINK = "blob_link"
14
15
  TEXT = "text"
15
16
  LONG_TEXT = "long_text"
@@ -11,6 +11,7 @@ class AppConfigFieldType(Enums.KnownString):
11
11
  CUSTOM_ENTITY_LINK = "custom_entity_link"
12
12
  ENTITY_LINK = "entity_link"
13
13
  MIXTURE_LINK = "mixture_link"
14
+ MOLECULE_LINK = "molecule_link"
14
15
  DROPDOWN = "dropdown"
15
16
  PART_LINK = "part_link"
16
17
  TRANSLATION_LINK = "translation_link"
@@ -11,6 +11,7 @@ class FieldType(Enums.KnownString):
11
11
  CUSTOM_ENTITY_LINK = "custom_entity_link"
12
12
  ENTITY_LINK = "entity_link"
13
13
  MIXTURE_LINK = "mixture_link"
14
+ MOLECULE_LINK = "molecule_link"
14
15
  DROPDOWN = "dropdown"
15
16
  PART_LINK = "part_link"
16
17
  TRANSLATION_LINK = "translation_link"
@@ -2780,6 +2780,7 @@ components:
2780
2780
  - custom_entity_link
2781
2781
  - entity_link
2782
2782
  - mixture_link
2783
+ - molecule_link
2783
2784
  - dropdown
2784
2785
  - part_link
2785
2786
  - translation_link
@@ -5199,6 +5200,7 @@ components:
5199
5200
  - custom_entity_link
5200
5201
  - entity_link
5201
5202
  - mixture_link
5203
+ - molecule_link
5202
5204
  - dropdown
5203
5205
  - part_link
5204
5206
  - translation_link