Skip to content

Commit

Permalink
Merge pull request #3 from extrawest/feature/credentials-v-2-1-1
Browse files Browse the repository at this point in the history
[feature] Add credentials v2.1.1 and corresponding modules.
  • Loading branch information
andrewdubyniak authored Sep 21, 2023
2 parents 0544791 + 67955fb commit d98b98c
Show file tree
Hide file tree
Showing 64 changed files with 2,852 additions and 541 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ pytest = "*"
httpx = "*"
pydantic = "==1.10.12"
commit-helper = "*"
pytest-asyncio = "*"
140 changes: 79 additions & 61 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,9 @@ Example: `http://127.0.0.1:8000/ocpi/docs/`
---

- [in progress] Add support for OCPI v2.1.1
- What's done so far:
- Add version, credentials and locations module;
- Add support for initializing v2.1.1 (It's possible to initialize only one version for one project);


## Related
Expand Down
2 changes: 1 addition & 1 deletion py_ocpi/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""Python Implementation of OCPI"""

__version__ = "2023.08.29"
__version__ = "2023.09.20"

from .core import enums, data_types
from .main import get_application
2 changes: 1 addition & 1 deletion py_ocpi/core/dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_endpoints():

def pagination_filters(
date_from: datetime = Query(default=None),
date_to: datetime = Query(default=datetime.now()),
date_to: datetime = Query(default=None),
offset: int = Query(default=0),
limit: int = Query(default=50),
):
Expand Down
Loading

0 comments on commit d98b98c

Please sign in to comment.