We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2610372 commit 5956370Copy full SHA for 5956370
datacommons/core.py
@@ -154,10 +154,16 @@ def get_property_values(dcids,
154
"""
155
# Convert the dcids field and format the request to GetPropertyValue
156
dcids = list(dcids)
157
+ if out:
158
+ direction = 'out'
159
+ else:
160
+ direction = 'in'
161
+
162
req_json = {
163
'dcids': dcids,
164
'property': prop,
- 'limit': limit
165
+ 'limit': limit,
166
+ 'direction': direction
167
}
168
if value_type:
169
req_json['value_type'] = value_type
setup.py
@@ -25,7 +25,7 @@
25
EMAIL = 'support@datacommons.org'
26
AUTHOR = 'datacommons.org'
27
REQUIRES_PYTHON = '>=3.6.0'
28
-VERSION = '1.0.2'
+VERSION = '1.0.3'
29
30
REQUIRED = [
31
'httplib2',
0 commit comments