From 43a8b2fb4534ce2a8d2ad4d55a358e19a9385f5e Mon Sep 17 00:00:00 2001 From: Cassowary Rusnov Date: Mon, 22 Nov 2021 11:02:30 -0800 Subject: [PATCH] Fix error in .get definition. --- civicrmapi4/__init__.py | 2 +- civicrmapi4/civicrmapi4.py | 2 +- setup.cfg | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/civicrmapi4/__init__.py b/civicrmapi4/__init__.py index 925bb3e..39f0284 100644 --- a/civicrmapi4/__init__.py +++ b/civicrmapi4/__init__.py @@ -2,4 +2,4 @@ __author__ = """Cassowary Rusnov""" __email__ = "rusnovc@gmail.com" -__version__ = "0.0.1" +__version__ = "0.0.2" diff --git a/civicrmapi4/civicrmapi4.py b/civicrmapi4/civicrmapi4.py index 6efcc2e..907df23 100644 --- a/civicrmapi4/civicrmapi4.py +++ b/civicrmapi4/civicrmapi4.py @@ -191,7 +191,7 @@ class APIv4: objName: str, where: Optional[List] = None, limit: Optional[int] = None, - select=Optional[List[str]]) -> List: + select: Optional[List[str]] = None) -> List: """ Get objects based on a where clause, optional limit and optional field list. diff --git a/setup.cfg b/setup.cfg index 1a86e64..05dbbd0 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = civicrmapi4 -version = 0.0.1 +version = 0.0.2 description = A simple layer to interact with the CiviCRM APIv4 author = Cassowary Rusnov author_email = rusnovc@gmail.com