Skip to content

Commit

Permalink
fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
mdip226 committed Jul 19, 2023
1 parent a56acdf commit bfd0ffa
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion gillespy2/remote/client/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from gillespy2.remote.client.endpoint import Endpoint
from gillespy2.remote.core.messages.base import Request

from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

class Server(ABC):
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/cloud/ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from gillespy2.remote.core.messages.source_ip import SourceIpRequest, SourceIpResponse
from gillespy2.remote.cloud.exceptions import EC2ImportException, ResourceException, EC2Exception
from gillespy2.remote.client.endpoint import Endpoint
from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)
try:
import boto3
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/core/remote_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from gillespy2.remote.core.messages.results import ResultsRequest, ResultsResponse
from gillespy2.remote.core.messages.status import StatusRequest, StatusResponse, SimStatus

from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

class RemoteResults(Results):
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/core/remote_simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from gillespy2.remote.core.errors import RemoteSimulationError
from gillespy2.remote.core.remote_results import RemoteResults

from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

class RemoteSimulation:
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'''
gillespy2.remote.core.log_config
gillespy2.remote.core.utils.log_config
Global Logging Configuration
'''
Expand All @@ -13,7 +13,7 @@ def init_logging(name):
Like so:
from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)
:param name: Name for the logger. Use the dot-separated module path string.
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from gillespy2.remote.server.api import start_api

from logging import INFO, getLevelName
from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

def _add_shared_args(parser):
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/server/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
from gillespy2.remote.server.handlers.sourceip import SourceIpHandler
from gillespy2.remote.server.handlers.status import StatusHandler
from gillespy2.remote.server.handlers.results import ResultsHandler
from gillespy2.remote.core.log_config import init_logging, set_global_log_level
from gillespy2.remote.core.utils.log_config import init_logging, set_global_log_level
log = init_logging(__name__)

def _make_app(dask_host, dask_scheduler_port, cache):
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/server/handlers/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from gillespy2.remote.core.messages.results import ResultsResponse
from gillespy2.remote.server.cache import Cache

from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

class ResultsHandler(RequestHandler):
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/server/handlers/simulation_run_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
from gillespy2.remote.core.messages.simulation_run_cache import SimulationRunCacheRequest, SimulationRunCacheResponse
from gillespy2.remote.server.cache import Cache

from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

class SimulationRunCacheHandler(RequestHandler):
Expand Down
2 changes: 1 addition & 1 deletion gillespy2/remote/server/handlers/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
from gillespy2.remote.core.messages.status import SimStatus, StatusRequest, StatusResponse
from gillespy2.remote.server.cache import Cache

from gillespy2.remote.core.log_config import init_logging
from gillespy2.remote.core.utils.log_config import init_logging
log = init_logging(__name__)

class StatusHandler(RequestHandler):
Expand Down

0 comments on commit bfd0ffa

Please sign in to comment.