benchling-api-client 2.0.415__py3-none-any.whl → 2.0.417__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 (53) hide show
  1. benchling_api_client/models/aa_sequence.py +1 -1
  2. benchling_api_client/models/aa_sequence_with_entity_type.py +1 -1
  3. benchling_api_client/models/container_content.py +183 -26
  4. benchling_api_client/models/entity.py +19 -7
  5. benchling_api_client/models/entity_or_inaccessible_resource.py +19 -7
  6. benchling_api_client/models/molecule_with_entity_type.py +787 -0
  7. benchling_api_client/models/molecule_with_entity_type_entity_type.py +22 -0
  8. benchling_api_client/models/registered_entities_list.py +89 -32
  9. benchling_api_client/models/request_response_samples_item_entity.py +216 -74
  10. benchling_api_client/models/rna_sequence_with_entity_type.py +1151 -0
  11. benchling_api_client/models/rna_sequence_with_entity_type_entity_type.py +22 -0
  12. benchling_api_client/v2/alpha/openapi.yaml +2 -2
  13. benchling_api_client/v2/beta/models/aa_sequence.py +1 -1
  14. benchling_api_client/v2/beta/models/aa_sequence_with_entity_type.py +865 -0
  15. benchling_api_client/v2/beta/models/aa_sequence_with_entity_type_entity_type.py +22 -0
  16. benchling_api_client/v2/beta/models/container_content.py +183 -26
  17. benchling_api_client/v2/beta/models/custom_entity_creator.py +2 -100
  18. benchling_api_client/v2/beta/models/custom_entity_with_entity_type.py +747 -0
  19. benchling_api_client/v2/beta/models/custom_entity_with_entity_type_entity_type.py +22 -0
  20. benchling_api_client/v2/beta/models/dna_oligo_with_entity_type.py +972 -0
  21. benchling_api_client/v2/beta/models/dna_oligo_with_entity_type_entity_type.py +22 -0
  22. benchling_api_client/v2/beta/models/dna_sequence_with_entity_type.py +1102 -0
  23. benchling_api_client/v2/beta/models/dna_sequence_with_entity_type_entity_type.py +22 -0
  24. benchling_api_client/v2/beta/models/entity.py +19 -7
  25. benchling_api_client/v2/beta/models/entity_or_inaccessible_resource.py +19 -7
  26. benchling_api_client/v2/beta/models/mixture_creator.py +2 -100
  27. benchling_api_client/v2/beta/models/mixture_with_entity_type.py +867 -0
  28. benchling_api_client/v2/beta/models/mixture_with_entity_type_entity_type.py +22 -0
  29. benchling_api_client/v2/beta/models/molecule_with_entity_type.py +787 -0
  30. benchling_api_client/v2/beta/models/molecule_with_entity_type_entity_type.py +22 -0
  31. benchling_api_client/v2/beta/models/rna_oligo_with_entity_type.py +972 -0
  32. benchling_api_client/v2/beta/models/rna_oligo_with_entity_type_entity_type.py +22 -0
  33. benchling_api_client/v2/beta/models/rna_sequence.py +1109 -0
  34. benchling_api_client/v2/beta/models/rna_sequence_part.py +183 -0
  35. benchling_api_client/v2/beta/models/rna_sequence_with_entity_type.py +1151 -0
  36. benchling_api_client/v2/beta/models/rna_sequence_with_entity_type_entity_type.py +22 -0
  37. benchling_api_client/v2/beta/openapi.yaml +219 -9
  38. benchling_api_client/v2/stable/models/aa_sequence.py +1 -1
  39. benchling_api_client/v2/stable/models/aa_sequence_with_entity_type.py +1 -1
  40. benchling_api_client/v2/stable/models/container_content.py +183 -26
  41. benchling_api_client/v2/stable/models/entity.py +19 -7
  42. benchling_api_client/v2/stable/models/entity_or_inaccessible_resource.py +19 -7
  43. benchling_api_client/v2/stable/models/molecule_with_entity_type.py +787 -0
  44. benchling_api_client/v2/stable/models/molecule_with_entity_type_entity_type.py +22 -0
  45. benchling_api_client/v2/stable/models/registered_entities_list.py +89 -32
  46. benchling_api_client/v2/stable/models/request_response_samples_item_entity.py +216 -74
  47. benchling_api_client/v2/stable/models/rna_sequence_with_entity_type.py +1151 -0
  48. benchling_api_client/v2/stable/models/rna_sequence_with_entity_type_entity_type.py +22 -0
  49. benchling_api_client/v2/stable/openapi.yaml +43 -25
  50. {benchling_api_client-2.0.415.dist-info → benchling_api_client-2.0.417.dist-info}/METADATA +1 -1
  51. {benchling_api_client-2.0.415.dist-info → benchling_api_client-2.0.417.dist-info}/RECORD +53 -27
  52. {benchling_api_client-2.0.415.dist-info → benchling_api_client-2.0.417.dist-info}/LICENSE +0 -0
  53. {benchling_api_client-2.0.415.dist-info → benchling_api_client-2.0.417.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"))
@@ -7134,8 +7134,8 @@ tags:
7134
7134
  assigned to access an item.
7135
7135
  name: Collaborations
7136
7136
  - description: 'Benchling supports custom entities for biological entities that are
7137
- neither sequences or proteins. Custom entities must have an entity schema set
7138
- and can have both schema fields and custom fields.
7137
+ neither DNA, RNA, nor AA sequences. Custom entities must have an entity schema
7138
+ set and can have both schema fields and custom fields.
7139
7139
 
7140
7140
  '
7141
7141
  name: Custom Entities
@@ -809,7 +809,7 @@ class AaSequence:
809
809
 
810
810
  @property
811
811
  def web_url(self) -> str:
812
- """ URL of the protein. """
812
+ """ URL of the AA sequence. """
813
813
  if isinstance(self._web_url, Unset):
814
814
  raise NotPresentError(self, "web_url")
815
815
  return self._web_url