Skip to content

Commit

Permalink
#3 Revert back to pipenv instead of poetry due to lack of support of…
Browse files Browse the repository at this point in the history
… libraries like GDAL.

 Move swagger_client to the top level of the source code so that it can be used.
  • Loading branch information
sunayana committed Aug 27, 2021
1 parent cdefff4 commit 3f5bd9b
Show file tree
Hide file tree
Showing 20 changed files with 253 additions and 654 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.vscode/*

src/generated/swagger_client.egg-info

*.pyc
24 changes: 24 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
certifi = "*"
six = "*"
python-dateutil = "*"
urllib3 = "*"
py = "*"
randomize = "*"

[dev-packages]
black = "*"
coverage = "*"
nose = "*"
pluggy = "*"

[requires]
python_version = "3.8"

[pipenv]
allow_prereleases = true
214 changes: 214 additions & 0 deletions Pipfile.lock

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

10 changes: 10 additions & 0 deletions apps/retrieve_category.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import os

print(os.getcwd())


from swagger_client.api.categories_api import CategoriesApi


api = CategoriesApi()
api.get_category_by_id(1)
Loading

0 comments on commit 3f5bd9b

Please sign in to comment.