Skip to content

Commit

Permalink
Remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Siecje committed Apr 2, 2024
1 parent dd37c24 commit 09950d9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 deletions.
3 changes: 0 additions & 3 deletions services/core/DNP3OutstationAgent/tests/test_dnp3_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@
import pytest
import os
import datetime
# from dnp3_outstation.agent import Dnp3OutstationAgent
from services.core.DNP3OutstationAgent.dnp3_outstation_agent.agent import Dnp3Agent as Dnp3OutstationAgent
from dnp3_python.dnp3station.outstation_new import MyOutStationNew
import random
import subprocess
import logging

logging_logger = logging.getLogger(__name__)
Expand Down
2 changes: 0 additions & 2 deletions services/core/DataMover/tests/test_datamover.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
# }}}

import os
import json
import random
import gevent
import pytest
Expand All @@ -36,7 +35,6 @@
from volttron.platform.messaging import topics
from volttron.platform.vip.agent import Agent
from volttron.platform.keystore import KnownHostsStore
from volttron.platform.messaging.health import STATUS_GOOD

datamover_uuid = None
datamover_config = {
Expand Down
2 changes: 1 addition & 1 deletion services/core/IEEE_2030_5/demo/webgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
sys.path.insert(0, str(Path(__file__).absolute().parent.parent.as_posix()))

import requests
from nicegui import app, ui
from nicegui import ui

import ieee_2030_5.models as m
from ieee_2030_5 import dataclass_to_xml, xml_to_dataclass
Expand Down
10 changes: 3 additions & 7 deletions services/core/IEEE_2030_5/ieee_2030_5/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@
# }}}
from __future__ import annotations
from copy import deepcopy
from dataclasses import dataclass, field, fields
from dataclasses import dataclass, fields
import math
import logging
import sys
from datetime import datetime
from pathlib import Path
from pprint import pformat
from typing import Any, Dict, List

import ieee_2030_5.models as m
Expand All @@ -39,15 +38,12 @@

try: # for modular
from volttron import utils
from volttron.client.messaging.health import STATUS_GOOD
from volttron.client.vip.agent import RPC, Agent, Core, PubSub
from volttron.client.vip.agent.subsystems.query import Query
from volttron.client.vip.agent import Agent
from volttron.utils.commands import vip_main
except ImportError:
from volttron.platform.agent import utils
from volttron.platform.agent.utils import vip_main
from volttron.platform.vip.agent import RPC, Agent, Core, PubSub
from volttron.platform.vip.agent.subsystems.query import Query
from volttron.platform.vip.agent import Agent

# from . import __version__
__version__ = '0.1.0'
Expand Down

0 comments on commit 09950d9

Please sign in to comment.