sapiadapter 1.0.0__tar.gz → 1.2.0__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: sapiadapter
3
- Version: 1.0.0
3
+ Version: 1.2.0
4
4
  Summary: A minimal package exposing run, defdata, and defmeta methods
5
5
  Author: Zafar Iqbal
6
6
  Author-email: zaf@sparc.space
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "sapiadapter"
3
- version = "1.0.0"
3
+ version = "1.2.0"
4
4
  description = "A minimal package exposing run, defdata, and defmeta methods"
5
5
  authors = ["Zafar Iqbal <zaf@sparc.space>"]
6
6
  readme = "README.md"
@@ -1,14 +1,15 @@
1
1
 
2
2
  import requests
3
3
 
4
- __version__ = "1.0.0"
4
+ __version__ = "1.2.0"
5
5
 
6
6
  __all__ = [ "run" , "defdata" , "defmeta" ]
7
7
 
8
8
  DATA = None
9
9
 
10
- def run( params = None ) :
10
+ def run( url = None , params = None ) :
11
11
 
12
+ if not url : raise "url params None"
12
13
  if not params : raise "run params None"
13
14
 
14
15
  #url = ""
File without changes