# HG changeset patch # User drewp@bigasterisk.com # Date 1684742358 25200 # Node ID ffde209f05c41a3ddb48cafba2bc4e74ce8566eb # Parent ae38d21e6f6b7dbf4ec32c2d3e5c08c884ff38b0 typedValue imports diff -r ae38d21e6f6b -r ffde209f05c4 light9/collector/collector.py --- a/light9/collector/collector.py Mon May 22 00:56:19 2023 -0700 +++ b/light9/collector/collector.py Mon May 22 00:59:18 2023 -0700 @@ -1,6 +1,7 @@ import logging import time from typing import Dict, List, Set, Tuple, cast +from light9.typedgraph import typedValue from rdfdb.syncedgraph.syncedgraph import SyncedGraph from rdflib import URIRef @@ -11,7 +12,7 @@ from light9.effect.settings import DeviceSettings from light9.namespaces import L9, RDF from light9.newtypes import (ClientSessionType, ClientType, DeviceAttr, DeviceClass, DeviceSetting, DeviceUri, DmxIndex, DmxMessageIndex, OutputAttr, - OutputRange, OutputUri, OutputValue, UnixTime, VTUnion, typedValue) + OutputRange, OutputUri, OutputValue, UnixTime, VTUnion) log = logging.getLogger('collector') diff -r ae38d21e6f6b -r ffde209f05c4 light9/effect/sequencer/note.py --- a/light9/effect/sequencer/note.py Mon May 22 00:56:19 2023 -0700 +++ b/light9/effect/sequencer/note.py Mon May 22 00:59:18 2023 -0700 @@ -4,13 +4,14 @@ from dataclasses import dataclass from decimal import Decimal from typing import Any, Dict, List, Optional, Tuple, Union, cast +from light9.typedgraph import typedValue from rdfdb.syncedgraph.syncedgraph import SyncedGraph from rdflib import Literal from light9.effect.settings import BareEffectSettings from light9.namespaces import L9 -from light9.newtypes import (Curve, EffectAttr, EffectClass, NoteUri, VTUnion, typedValue) +from light9.newtypes import (Curve, EffectAttr, EffectClass, NoteUri, VTUnion) log = logging.getLogger('sequencer') diff -r ae38d21e6f6b -r ffde209f05c4 light9/effect/simple_outputs.py --- a/light9/effect/simple_outputs.py Mon May 22 00:56:19 2023 -0700 +++ b/light9/effect/simple_outputs.py Mon May 22 00:59:18 2023 -0700 @@ -1,6 +1,7 @@ import logging import traceback from typing import Any, Dict, List, Tuple +from light9.typedgraph import typedValue from rdflib import URIRef diff -r ae38d21e6f6b -r ffde209f05c4 light9/newtypes.py --- a/light9/newtypes.py Mon May 22 00:56:19 2023 -0700 +++ b/light9/newtypes.py Mon May 22 00:59:18 2023 -0700 @@ -1,8 +1,6 @@ -import decimal -from typing import NewType, Tuple, Type, TypeVar, Union, cast +from typing import NewType, Tuple, TypeVar, Union from rdflib import URIRef -from rdflib.term import Node ClientType = NewType('ClientType', str) ClientSessionType = NewType('ClientSessionType', str)