From 29113ab4df5c1c18dd5dfa98eb5a17005bf404ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Andres=20Ram=C3=ADrez?= Date: Thu, 23 Oct 2025 12:41:37 -0300 Subject: [PATCH] chore(example): update dependencies and improve example notebook --- poetry.lock | 16 ++++- pyproject.toml | 1 + .../pytested/Hello_World_BUILD_module.ipynb | 72 +++++++++---------- 3 files changed, 48 insertions(+), 41 deletions(-) diff --git a/poetry.lock b/poetry.lock index 5f846d7..1a05c37 100644 --- a/poetry.lock +++ b/poetry.lock @@ -3843,6 +3843,20 @@ files = [ [package.dependencies] six = ">=1.5" +[[package]] +name = "python-dotenv" +version = "1.0.1" +description = "Read key-value pairs from a .env file and set them as environment variables" +optional = false +python-versions = ">=3.8" +files = [ + {file = "python-dotenv-1.0.1.tar.gz", hash = "sha256:e324ee90a023d808f1959c46bcbc04446a10ced277783dc6ee09987c37ec10ca"}, + {file = "python_dotenv-1.0.1-py3-none-any.whl", hash = "sha256:f7b63ef50f1b690dddf550d03497b66d609393b40b564ed0d674909a68ebf16a"}, +] + +[package.extras] +cli = ["click (>=5.0)"] + [[package]] name = "python-json-logger" version = "2.0.7" @@ -4990,4 +5004,4 @@ type = ["pytest-mypy"] [metadata] lock-version = "2.0" python-versions = "^3.9.6" -content-hash = "df2c91762e73aab5d17ea470acb1daa176df31cbcd880e05f2471b24d64d9085" +content-hash = "6cedb7bb8d5306f05c105240fdcd6fd1b6993d4c68de3af10fed357123d4ba57" diff --git a/pyproject.toml b/pyproject.toml index e23a0e7..0f7bae8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -60,6 +60,7 @@ tqdm = "^4.62.3" # optionals # being used by examples +python-dotenv = "^1.0.1" [tool.poetry.group.extras.dependencies] # examples = ["fastaparser", "jupyter_contrib_nbextensions", "jupyter-console", "jupyter", "pandas", "seaborn", "tqdm"] jupyter = { version = "^1.1.1"} diff --git a/teselagen/examples/pytested/Hello_World_BUILD_module.ipynb b/teselagen/examples/pytested/Hello_World_BUILD_module.ipynb index 6781b37..2aa26a7 100644 --- a/teselagen/examples/pytested/Hello_World_BUILD_module.ipynb +++ b/teselagen/examples/pytested/Hello_World_BUILD_module.ipynb @@ -34,24 +34,24 @@ }, { "cell_type": "code", - "execution_count": 1, + "execution_count": 3, "id": "working-major", "metadata": {}, "outputs": [ { - "name": "stderr", + "name": "stdout", "output_type": "stream", "text": [ - "/var/folders/5d/j7y9hwmj3hz8dk7qwbnp5k6c0000gn/T/ipykernel_12658/2093691340.py:6: DeprecationWarning: Importing display from IPython.core.display is deprecated since IPython 7.14, please import from IPython display\n", - " from IPython.core.display import display\n" + "Python version: 3.11.6\n", + "TeselaGen's Python Client version: 0.5.0\n" ] }, { - "name": "stdout", + "name": "stderr", "output_type": "stream", "text": [ - "Python version: 3.11.6\n", - "TeselaGen's Python Client version: 0.4.9\n" + "/var/folders/5d/j7y9hwmj3hz8dk7qwbnp5k6c0000gn/T/ipykernel_41299/2093691340.py:6: DeprecationWarning: Importing display from IPython.core.display is deprecated since IPython 7.14, please import from IPython display\n", + " from IPython.core.display import display\n" ] } ], @@ -389,30 +389,22 @@ }, { "cell_type": "code", - "execution_count": 28, + "execution_count": 21, "id": "df9907ba", "metadata": {}, "outputs": [], "source": [ "USERNAME = \"****@teselagen.com\" # Replace this with your username\n", "PASSWORD = \"*******\" # Replace this with your password/api-key\n", - "HOST_URL = \"https://rc-single.teselagen.com\"" + "HOST_URL = \"https://.teselagen.com\"" ] }, { "cell_type": "code", - "execution_count": 29, + "execution_count": null, "id": "3aca3f46", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "HOST_URL: http://host.docker.internal:3000\n" - ] - } - ], + "outputs": [], "source": [ "# Load credentials from file if not set above\n", "if USERNAME == \"****@teselagen.com\":\n", @@ -420,7 +412,7 @@ " credentials: dict = json.load(f)\n", " USERNAME = credentials['username']\n", " PASSWORD = credentials['password']\n", - " cred_host = credentials.get('host', None)\n", + " cred_host = credentials.get('host_url', None)\n", " if cred_host:\n", " HOST_URL = cred_host\n", "\n", @@ -437,7 +429,7 @@ }, { "cell_type": "code", - "execution_count": 30, + "execution_count": 24, "id": "6532da80", "metadata": {}, "outputs": [], @@ -456,7 +448,7 @@ }, { "cell_type": "code", - "execution_count": 31, + "execution_count": 25, "id": "da4b3153", "metadata": {}, "outputs": [], @@ -490,7 +482,7 @@ }, { "cell_type": "code", - "execution_count": 33, + "execution_count": 26, "id": "630db276", "metadata": {}, "outputs": [ @@ -498,7 +490,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "Available labs: {'The Test Lab': '89984f4b-d57e-491b-a184-ef5ecce80bb8'}\n" + "Available labs: {'TeselaGen': '09e5e181-9e3b-442b-9c89-da7f59d78bc5', 'ARLab': '1cac1342-0fcc-49f3-b44d-5d66ceaa4a28', 'Fermentation Lab': 'e51e85f4-71bc-490c-8aa2-64cc88d022a0'}\n" ] } ], @@ -512,7 +504,7 @@ "print(f\"Available labs: {labs}\")\n", "\n", "# Now we select one\n", - "session.headers.update({'tg-active-lab-id': labs['The Test Lab']})" + "session.headers.update({'tg-active-lab-id': labs['ARLab']})" ] }, { @@ -525,18 +517,10 @@ }, { "cell_type": "code", - "execution_count": 34, + "execution_count": null, "id": "bee267eb", "metadata": {}, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "{'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json', 'Connection': 'keep-alive', 'Content-Type': 'application/json', 'x-tg-api-token': 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ2ZXJzaW9uIjoidjEyIiwiZ3VpZCI6InNlZWRlZC11c2VyIiwic2Vzc2lvbklkIjoiZTBlNTQzNzYtYWYwMC00NTNmLWI2ZWQtOWIzNzIyN2ZlNGRjIiwiaWQiOiI2NDg5ODI4Ni01M2FmLTQyOWYtYTI5MS1kOTExMTkzZWZjNmYiLCJ1c2VybmFtZSI6InRlc3RAdGVzZWxhZ2VuLmNvbSIsInJvbGVzIjp7IkFETUlOIjp0cnVlLCJMQUJfQ1JFQVRPUiI6dHJ1ZX0sInJvbGVDb2RlcyI6WyJBRE1JTiIsIkxBQl9DUkVBVE9SIiwiTUVNQkVSIl0sImlhdCI6MTcyODY3OTE1OSwiZXhwIjoxNzI4NzY1NTU5fQ.9VNjAKrYtKWZ2ZF9Ldwh7w3dpAr8VL2ZQI8yqYI2UO4', 'tg-active-lab-id': '89984f4b-d57e-491b-a184-ef5ecce80bb8'}\n" - ] - } - ], + "outputs": [], "source": [ "print(session.headers)" ] @@ -559,7 +543,7 @@ }, { "cell_type": "code", - "execution_count": 35, + "execution_count": 14, "id": "ce6a632c", "metadata": {}, "outputs": [ @@ -567,7 +551,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "[{'id': '001eccf1-30cf-459a-a700-acd50a38a95d', 'name': 'Sample 00', 'status': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2024-10-10T13:17:36.884Z', 'createdAt': '2024-10-10T13:17:36.884Z', 'taggedItems': [], 'material': {'id': 'a2f321f7-764c-4f03-bfce-6114ed58d5c6', 'name': 'Mock material 00', '__typename': 'material'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': None, '__typename': 'sample'}, {'id': 'fda10c27-9a65-402e-912e-87d09aa2bcf8', 'name': 'Sample 01', 'status': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2024-10-10T13:17:36.884Z', 'createdAt': '2024-10-10T13:17:36.884Z', 'taggedItems': [], 'material': {'id': '00ca71ec-c99a-4930-8c77-232a07d83e76', 'name': 'Mock material 01', '__typename': 'material'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': None, '__typename': 'sample'}, {'id': '4758d5c4-ff50-4f45-b8a0-742234e60c4c', 'name': 'Sample 02', 'status': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2024-10-10T13:17:36.884Z', 'createdAt': '2024-10-10T13:17:36.884Z', 'taggedItems': [], 'material': {'id': '718e2362-5b9b-4d58-a143-18e8b0a1e547', 'name': 'Mock material 02', '__typename': 'material'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': None, '__typename': 'sample'}, {'id': 'b43208e4-0fe9-4824-b041-8c7d37a839ae', 'name': 'Sample 03', 'status': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2024-10-10T13:17:36.884Z', 'createdAt': '2024-10-10T13:17:36.884Z', 'taggedItems': [], 'material': {'id': '5ee657b1-53fe-4d7b-b3a0-6e228c02069e', 'name': 'Mock material 03', '__typename': 'material'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': None, '__typename': 'sample'}, {'id': '9485cf4e-4b3a-451a-a401-2e90d709c372', 'name': 'Sample 04', 'status': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2024-10-10T13:17:36.884Z', 'createdAt': '2024-10-10T13:17:36.884Z', 'taggedItems': [], 'material': {'id': '0bcbba5e-8870-452d-98ec-e97c00e55999', 'name': 'Mock material 04', '__typename': 'material'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': None, '__typename': 'sample'}]\n" + "[{'id': '188fea98-df24-46ad-8522-65a3afe83907', 'name': 'my_cell_culture-A1', 'status': None, 'sampleStatus': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2022-06-29T21:01:29.914+00:00', 'createdAt': '2022-06-29T21:01:29.914+00:00', 'taggedItems': [], 'material': {'id': '0e1427a4-ed55-4dfa-88e7-190b2fc65c41', 'name': 'my_cell_culture-A1', '__typename': 'material'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, '__typename': 'sample'}, {'id': '4cd9f1e7-822d-48c3-822e-5c08359edf27', 'name': 'my_cell_culture-A2', 'status': None, 'sampleStatus': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2022-06-29T21:01:29.914+00:00', 'createdAt': '2022-06-29T21:01:29.914+00:00', 'taggedItems': [], 'material': {'id': '7a69d978-dbdf-4094-ad5c-f672e48f9ca0', 'name': 'my_cell_culture-A2', '__typename': 'material'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, '__typename': 'sample'}, {'id': '56f1394a-df2f-40a8-867e-dbcdc6faf015', 'name': 'my_cell_culture-A3', 'status': None, 'sampleStatus': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2022-06-29T21:01:29.914+00:00', 'createdAt': '2022-06-29T21:01:29.914+00:00', 'taggedItems': [], 'material': {'id': '3f979f39-d10c-45f0-afa6-4b56ef4f1e6c', 'name': 'my_cell_culture-A3', '__typename': 'material'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, '__typename': 'sample'}, {'id': 'e958717b-6c85-44a4-a2dd-cd6475f8cf70', 'name': 'my_cell_culture-A4', 'status': None, 'sampleStatus': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2022-06-29T21:01:29.914+00:00', 'createdAt': '2022-06-29T21:01:29.914+00:00', 'taggedItems': [], 'material': {'id': '1a422580-b8cd-419b-b6d2-f9bb2c1e20b3', 'name': 'my_cell_culture-A4', '__typename': 'material'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, '__typename': 'sample'}, {'id': '6aaab469-ab0b-468f-af77-f965010a38c2', 'name': 'my_cell_culture-A5', 'status': None, 'sampleStatus': None, 'sampleTypeCode': 'REGISTERED_SAMPLE', 'sampleType': {'code': 'REGISTERED_SAMPLE', 'name': 'Registered Sample', '__typename': 'sampleType'}, 'sampleFormulations': [], 'updatedAt': '2022-06-29T21:01:29.914+00:00', 'createdAt': '2022-06-29T21:01:29.914+00:00', 'taggedItems': [], 'material': {'id': 'a375bf7c-eda8-4b15-a05e-07008da9d45c', 'name': 'my_cell_culture-A5', '__typename': 'material'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, '__typename': 'sample'}]\n" ] } ], @@ -594,7 +578,7 @@ }, { "cell_type": "code", - "execution_count": 36, + "execution_count": 15, "id": "f4d0e07d", "metadata": {}, "outputs": [ @@ -602,7 +586,7 @@ "name": "stdout", "output_type": "stream", "text": [ - "[{'id': 'db65c053-bf09-40b4-89fc-765f76becda8', 'name': 'Example Wet Plate', 'assignedPosition': None, 'createdAt': '2024-10-10T13:17:36.851Z', 'updatedAt': '2024-10-10T13:17:36.851Z', 'containerArrayType': {'id': '26691182-8e49-437b-af6b-1e26b6b27735', 'name': 'Generic 96 Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'GENERIC_96_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': None, 'user': None, 'taggedItems': [{'tag': {'id': '046a8d10-024e-4f6c-97a1-b5ae39714071', 'name': 'Seeded', '__typename': 'tag'}, '__typename': 'taggedItem'}], 'projectItems': [], '__typename': 'containerArray'}, {'id': '5d06a289-d637-4e94-8061-28f97a9a4724', 'name': 'dilution test', 'assignedPosition': None, 'createdAt': '2024-10-10T13:17:36.851Z', 'updatedAt': '2024-10-10T13:17:36.851Z', 'containerArrayType': {'id': '26691182-8e49-437b-af6b-1e26b6b27735', 'name': 'Generic 96 Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'GENERIC_96_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': {'id': '906feaf9-8b89-4bf6-a2b5-a92674b91140', 'barcodeString': 'BC0000010', '__typename': 'barcode'}, 'user': None, 'taggedItems': [], 'projectItems': [], '__typename': 'containerArray'}, {'id': '6c7dc007-0e16-4ac0-86a6-dc98ab517e7a', 'name': 'Sample Formulation Test Plate', 'assignedPosition': {'id': '60311c1b-174b-4702-a36f-2af965cae589', '__typename': 'assignedPosition'}, 'createdAt': '2024-10-10T13:17:36.851Z', 'updatedAt': '2024-10-10T13:17:36.851Z', 'containerArrayType': {'id': '0dea7962-df64-432d-ab16-661b0f43cd34', 'name': 'Generic 24 Well Plate', 'isPlate': True, 'containerFormatCode': '24_WELL', 'aliquotContainerType': {'code': 'GENERIC_24_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': None, 'user': None, 'taggedItems': [{'tag': {'id': '046a8d10-024e-4f6c-97a1-b5ae39714071', 'name': 'Seeded', '__typename': 'tag'}, '__typename': 'taggedItem'}], 'projectItems': [], '__typename': 'containerArray'}, {'id': 'ed8fc2d1-e10d-42be-b184-db95b3e42beb', 'name': 'microbial material test plate', 'assignedPosition': None, 'createdAt': '2024-10-10T13:17:36.851Z', 'updatedAt': '2024-10-10T13:17:36.851Z', 'containerArrayType': {'id': '26691182-8e49-437b-af6b-1e26b6b27735', 'name': 'Generic 96 Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'GENERIC_96_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': {'id': '53affc03-b42c-4602-9eb5-489c0f3254e8', 'barcodeString': '12345', '__typename': 'barcode'}, 'user': None, 'taggedItems': [{'tag': {'id': '046a8d10-024e-4f6c-97a1-b5ae39714071', 'name': 'Seeded', '__typename': 'tag'}, '__typename': 'taggedItem'}], 'projectItems': [], '__typename': 'containerArray'}, {'id': '883a64a4-90b7-4fec-8eff-96f1b49ec5fa', 'name': 'Plate Prep Strain Rack', 'assignedPosition': None, 'createdAt': '2024-10-10T13:17:36.851Z', 'updatedAt': '2024-10-10T13:17:36.851Z', 'containerArrayType': {'id': '2de23009-2a83-47d9-9a9a-df64f33986ed', 'name': 'Generic 6 Position Tube Rack', 'isPlate': False, 'containerFormatCode': '6_WELL', 'aliquotContainerType': None, '__typename': 'containerArrayType'}, 'batch': None, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': {'id': 'e9c20c65-7846-4ff4-8932-d305927840ea', 'barcodeString': 'Z000235zdf', '__typename': 'barcode'}, 'user': None, 'taggedItems': [{'tag': {'id': '046a8d10-024e-4f6c-97a1-b5ae39714071', 'name': 'Seeded', '__typename': 'tag'}, '__typename': 'taggedItem'}], 'projectItems': [], '__typename': 'containerArray'}]\n" + "[{'id': '2f6c5241-7782-408c-9cc1-283deaf4b3ba', 'name': 'plate_23', 'assignedPosition': None, 'createdAt': '2022-06-29T20:43:45.558+00:00', 'updatedAt': '2025-05-12T10:48:16.907+00:00', 'containerArrayType': {'id': 'sys-generic-96-well-plate', 'name': 'Generic 96 Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'GENERIC_96_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': None, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, 'taggedItems': [], 'projectItems': [], '__typename': 'containerArray'}, {'id': '9e9b0ea7-ffeb-434f-bd4b-e513fe96b1be', 'name': 'test_plate', 'assignedPosition': None, 'createdAt': '2022-06-30T16:54:50.771+00:00', 'updatedAt': '2025-05-12T10:48:16.907+00:00', 'containerArrayType': {'id': 'sys-generic-6-well-plate', 'name': 'Generic 6 Well Plate', 'isPlate': True, 'containerFormatCode': '6_WELL', 'aliquotContainerType': {'code': 'GENERIC_6_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': None, 'user': {'id': 'fc6b86e3-275e-43b7-9205-7af0c3588e77', 'username': 'Dylan Riffle', '__typename': 'user'}, 'taggedItems': [], 'projectItems': [], '__typename': 'containerArray'}, {'id': '4c7172dc-f2a6-41d0-b330-664e2b0a6534', 'name': 'sddsdsd', 'assignedPosition': None, 'createdAt': '2025-04-01T14:20:35.827+00:00', 'updatedAt': '2025-04-01T14:20:35.827+00:00', 'containerArrayType': {'id': 'sys-96-deep-well-plate', 'name': '96 Deep Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'DEEP_PLATE_WELL', 'maxVolume': 1500, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'lab': {'id': '1cac1342-0fcc-49f3-b44d-5d66ceaa4a28', 'name': 'ARLab', '__typename': 'lab'}, 'barcode': {'id': '02619f33-28f8-4a57-bbcb-8e8c34dfa17b', 'barcodeString': 'Z000001da7', '__typename': 'barcode'}, 'user': {'id': '40a1f748-4793-4c28-813d-988136f1abad', 'username': 'Andres Ramirez', '__typename': 'user'}, 'taggedItems': [], 'projectItems': [], '__typename': 'containerArray'}, {'id': '8ef51762-123c-484b-8db9-049edbbf37d1', 'name': 'cell_culture_test_plate', 'assignedPosition': None, 'createdAt': '2022-06-29T21:01:29.894+00:00', 'updatedAt': '2022-06-29T21:01:29.894+00:00', 'containerArrayType': {'id': 'sys-generic-96-well-plate', 'name': 'Generic 96 Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'GENERIC_96_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': None, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, 'taggedItems': [], 'projectItems': [], '__typename': 'containerArray'}, {'id': '258d40b4-8f90-417c-8317-dc499c2b953d', 'name': 'cell_culture_test_plate', 'assignedPosition': None, 'createdAt': '2022-06-29T21:00:42.903+00:00', 'updatedAt': '2022-06-29T21:00:42.903+00:00', 'containerArrayType': {'id': 'sys-generic-96-well-plate', 'name': 'Generic 96 Well Plate', 'isPlate': True, 'containerFormatCode': '96_WELL', 'aliquotContainerType': {'code': 'GENERIC_96_PLATE_WELL', 'maxVolume': 360, 'volumetricUnitCode': 'uL', '__typename': 'aliquotContainerType'}, '__typename': 'containerArrayType'}, 'lab': {'id': 'sys-common-lab', 'name': 'Common Lab', '__typename': 'lab'}, 'barcode': None, 'user': {'id': 'cc7b86ae-a7ac-41b2-b1b4-5a8174d2606d', 'username': 'Martin Costabal', '__typename': 'user'}, 'taggedItems': [], 'projectItems': [], '__typename': 'containerArray'}]\n" ] } ], @@ -617,11 +601,19 @@ "response.raise_for_status()\n", "print(response.json()[0:5]) # [{'id': str, 'name': str}, ... ]" ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "b3bdb991", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { "kernelspec": { - "display_name": "teselagen-mXBWz8ru-py3.11", + "display_name": "Python 3", "language": "python", "name": "python3" },