Skip to content

Commit a0a4b0b

Browse files
author
Joel Collins
committed
Fixed relative imports
1 parent f3d871b commit a0a4b0b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

labthings_client/affordances.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import requests
22

3-
from td_parsers import find_self_link
4-
from json_typing import json_to_typing_basic
5-
from tasks import ActionTask
3+
from .td_parsers import find_self_link
4+
from .json_typing import json_to_typing_basic
5+
from .tasks import ActionTask
66

77
class Affordance:
88
def __init__(self, affordance_description: dict, base_url: str = ""):

labthings_client/thing.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import requests
22
from ipaddress import IPv4Address, IPv6Address
33

4-
from utilities import AttributeDict
5-
from affordances import Property, Action
4+
from .utilities import AttributeDict
5+
from .affordances import Property, Action
66

77
class FoundThing:
88
def __init__(self, name, addresses, port, path, protocol="http"):

0 commit comments

Comments
 (0)