pam-python 0.1.14__tar.gz → 0.1.16__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. {pam_python-0.1.14 → pam_python-0.1.16}/PKG-INFO +3 -2
  2. {pam_python-0.1.14 → pam_python-0.1.16}/pam/models/request_command.py +8 -0
  3. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/service/service.test.tmpl +1 -1
  4. {pam_python-0.1.14 → pam_python-0.1.16}/pam/tester_task.py +2 -0
  5. {pam_python-0.1.14 → pam_python-0.1.16}/pam_python.egg-info/PKG-INFO +3 -2
  6. {pam_python-0.1.14 → pam_python-0.1.16}/setup.py +1 -1
  7. {pam_python-0.1.14 → pam_python-0.1.16}/LICENSE.txt +0 -0
  8. {pam_python-0.1.14 → pam_python-0.1.16}/README.md +0 -0
  9. {pam_python-0.1.14 → pam_python-0.1.16}/pam/__init__.py +0 -0
  10. {pam_python-0.1.14 → pam_python-0.1.16}/pam/api.py +0 -0
  11. {pam_python-0.1.14 → pam_python-0.1.16}/pam/cli.py +0 -0
  12. {pam_python-0.1.14 → pam_python-0.1.16}/pam/interface_task_manager.py +0 -0
  13. {pam_python-0.1.14 → pam_python-0.1.16}/pam/models/__init__.py +0 -0
  14. {pam_python-0.1.14 → pam_python-0.1.16}/pam/server.py +0 -0
  15. {pam_python-0.1.14 → pam_python-0.1.16}/pam/service.py +0 -0
  16. {pam_python-0.1.14 → pam_python-0.1.16}/pam/task_manager.py +0 -0
  17. {pam_python-0.1.14 → pam_python-0.1.16}/pam/temp_file_utils.py +0 -0
  18. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/buildcmd/pamb +0 -0
  19. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/buildcmd/pamb-base.sh +0 -0
  20. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/docker/Dockerfile +0 -0
  21. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/init/dockerignore.tmpl +0 -0
  22. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/init/gitignore.tmpl +0 -0
  23. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/init/main.tmpl +0 -0
  24. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/init/pylintrc.tmpl +0 -0
  25. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/init/run_test.sh +0 -0
  26. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/service/functions.tmpl +0 -0
  27. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/service/service.yaml +0 -0
  28. {pam_python-0.1.14 → pam_python-0.1.16}/pam/templates/service/service_class.tmpl +0 -0
  29. {pam_python-0.1.14 → pam_python-0.1.16}/pam/utils.py +0 -0
  30. {pam_python-0.1.14 → pam_python-0.1.16}/pam_python.egg-info/SOURCES.txt +0 -0
  31. {pam_python-0.1.14 → pam_python-0.1.16}/pam_python.egg-info/dependency_links.txt +0 -0
  32. {pam_python-0.1.14 → pam_python-0.1.16}/pam_python.egg-info/entry_points.txt +0 -0
  33. {pam_python-0.1.14 → pam_python-0.1.16}/pam_python.egg-info/requires.txt +0 -0
  34. {pam_python-0.1.14 → pam_python-0.1.16}/pam_python.egg-info/top_level.txt +0 -0
  35. {pam_python-0.1.14 → pam_python-0.1.16}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pam-python
3
- Version: 0.1.14
3
+ Version: 0.1.16
4
4
  Summary: Pam Python Library
5
5
  Home-page: https://github.com/heart/pam-python
6
6
  Author: Narongrit Kanhanoi
@@ -32,6 +32,7 @@ Dynamic: classifier
32
32
  Dynamic: description
33
33
  Dynamic: description-content-type
34
34
  Dynamic: home-page
35
+ Dynamic: license-file
35
36
  Dynamic: requires-dist
36
37
  Dynamic: requires-python
37
38
  Dynamic: summary
@@ -31,6 +31,8 @@ class RequestCommand:
31
31
  """
32
32
  Wraps an HTTP request to simplify access to its parameters and files.
33
33
  """
34
+ sqlite_download: str
35
+ sqlite_upload: str
34
36
  runtime_parameters: dict
35
37
  token: str
36
38
  cmd: str
@@ -129,6 +131,10 @@ class RequestCommand:
129
131
  token = params.pop("token", "")
130
132
  cmd = params.pop("cmd", "")
131
133
  data_api = params.pop("data", "")
134
+
135
+ sqlite_upload = params.pop("sqlite_upload", "")
136
+ sqlite_download = params.pop("sqlite_download", "")
137
+
132
138
  response_api = params.pop("response", "")
133
139
  is_end = RequestCommand.__safe_str_to_bool(params.pop("is_end", "true"))
134
140
  next_page = params.pop("next", "")
@@ -148,6 +154,8 @@ class RequestCommand:
148
154
  )
149
155
 
150
156
  return RequestCommand(
157
+ sqlite_download=sqlite_download,
158
+ sqlite_upload=sqlite_upload,
151
159
  runtime_parameters=params,
152
160
  token=token,
153
161
  cmd=cmd,
@@ -9,7 +9,7 @@ from pam.tester_task import TesterTask
9
9
  from pam.models.request_command import RequestCommand
10
10
  from pam.temp_file_utils import TempfileUtils
11
11
  #pylint: disable=import-error
12
- from #CLASS_NAME# import #CLASS_NAME#
12
+ from .#CLASS_NAME# import #CLASS_NAME#
13
13
 
14
14
 
15
15
  # ==================== GLOBAL VARIABLES ====================
@@ -71,6 +71,8 @@ class TesterTask(ITaskManager):
71
71
  try:
72
72
  files, is_end, next_page = self.request_data_callback(page)
73
73
  req = RequestCommand(
74
+ sqlite_download="",
75
+ sqlite_upload="",
74
76
  runtime_parameters={},
75
77
  token=service.request.token,
76
78
  cmd="dataset",
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: pam-python
3
- Version: 0.1.14
3
+ Version: 0.1.16
4
4
  Summary: Pam Python Library
5
5
  Home-page: https://github.com/heart/pam-python
6
6
  Author: Narongrit Kanhanoi
@@ -32,6 +32,7 @@ Dynamic: classifier
32
32
  Dynamic: description
33
33
  Dynamic: description-content-type
34
34
  Dynamic: home-page
35
+ Dynamic: license-file
35
36
  Dynamic: requires-dist
36
37
  Dynamic: requires-python
37
38
  Dynamic: summary
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="pam-python",
5
- version="0.1.14",
5
+ version="0.1.16",
6
6
  author="Narongrit Kanhanoi",
7
7
  author_email="narongrit@pams.ai",
8
8
  description="Pam Python Library",
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes