From 3444dc069975bca5cd7480b75dda4c5e87160d7c Mon Sep 17 00:00:00 2001 From: lindsay stevens Date: Tue, 4 Jun 2024 03:06:11 +1000 Subject: [PATCH] fix: typos --- .../create_entities_from_submissions.py | 2 +- pyodk/_endpoints/entity_lists.py | 2 +- tests/endpoints/test_entity_lists.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/examples/create_entities_from_submissions/create_entities_from_submissions.py b/docs/examples/create_entities_from_submissions/create_entities_from_submissions.py index 2bab25d..6421576 100644 --- a/docs/examples/create_entities_from_submissions/create_entities_from_submissions.py +++ b/docs/examples/create_entities_from_submissions/create_entities_from_submissions.py @@ -1,5 +1,5 @@ """ -A script that uses CSV data create an entity list and populate it with entities. +A script that uses CSV data to create an entity list and populate it with entities. """ import csv diff --git a/pyodk/_endpoints/entity_lists.py b/pyodk/_endpoints/entity_lists.py index 5ae6c52..cb94f36 100644 --- a/pyodk/_endpoints/entity_lists.py +++ b/pyodk/_endpoints/entity_lists.py @@ -160,7 +160,7 @@ def create( project_id: int | None = None, ) -> EntityList: """ - Create an Entity. + Create an Entity List. :param approval_required: If False, create Entities as soon as Submissions are received by Central. If True, create Entities when Submissions are marked as diff --git a/tests/endpoints/test_entity_lists.py b/tests/endpoints/test_entity_lists.py index 9ca1e90..96ef818 100644 --- a/tests/endpoints/test_entity_lists.py +++ b/tests/endpoints/test_entity_lists.py @@ -25,7 +25,7 @@ def test_list__ok(self): self.assertIsInstance(o, EntityList) def test_get__ok(self): - """Should an EntityList object.""" + """Should return an EntityList object.""" fixture = entity_lists_data.test_entity_lists[2] with patch.object(Session, "request") as mock_session: mock_session.return_value.status_code = 200