Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions datacommons_client/endpoints/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ def fetch(

Example:
```python
response = node_endpoint.fetch(
response = node.fetch(
node_dcids=["geoId/06"],
expression="<-"
)
print(response.data)
print(response)
```
"""

Expand Down Expand Up @@ -83,8 +83,8 @@ def fetch_property_labels(

Example:
```python
response = node_endpoint.fetch_properties(node_dcids="geoId/06")
print(response.data)
response = node.fetch_property_labels(node_dcids="geoId/06")
print(response)
```
"""
# Determine the direction of the properties.
Expand Down Expand Up @@ -125,12 +125,12 @@ def fetch_property_values(

Example:
```python
response = node_endpoint.fetch_property_values(
response = node.fetch_property_values(
node_dcids=["geoId/06"],
properties="name",
out=True
)
print(response.data)
print(response)
```
"""

Expand Down Expand Up @@ -169,8 +169,8 @@ def fetch_all_classes(

Example:
```python
response = node_endpoint.fetch_all_classes()
print(response.data)
response = node.fetch_all_classes()
print(response)
```
"""

Expand Down