Skip to content

Commit

Permalink
changed to relative imports
Browse files Browse the repository at this point in the history
  • Loading branch information
m0mosenpai committed Jul 13, 2021
1 parent 7e0d71a commit d8fbdfd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions client/commands/v2/pysa_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@
version of persistent.py.
"""

from pathlib import Path
import asyncio
import logging
from pathlib import Path
from typing import List, Sequence, Dict

from ... import (
json_rpc,
Expand All @@ -34,9 +35,8 @@
InitializationSuccess,
InitializationFailure,
)
from api import query, connection as api_connection
from api.connection import PyreQueryError
from typing import List, Sequence, Dict
from ....api import query, connection as api_connection
from ....api.connection import PyreQueryError

LOG: logging.Logger = logging.getLogger(__name__)

Expand Down Expand Up @@ -102,6 +102,7 @@ def invalid_models_to_diagnostics(
return result

async def update_errors(self, document_path: Path) -> None:
# Publishing empty diagnostics to clear errors in VSCode
await _publish_diagnostics(self.output_channel, document_path, [])
pyre_connection = api_connection.PyreConnection(
Path(self.pyre_arguments.global_root)
Expand Down

0 comments on commit d8fbdfd

Please sign in to comment.