Skip to content

Commit

Permalink
added some missing injected variable types
Browse files Browse the repository at this point in the history
  • Loading branch information
Helveg committed Sep 29, 2023
1 parent 43c6986 commit 577f060
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bsb/storage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
consumers and can be used independent of the underlying storage engine, which is the
end goal of this module.
"""
from typing import Type

from inspect import isclass

from .interfaces import ConnectivitySet, PlacementSet, FileStore, MorphologyRepository
from ..exceptions import UnknownStorageEngineError
from .. import plugins
from ..services import MPI
Expand Down Expand Up @@ -138,6 +141,11 @@ class Storage:
underlying engine.
"""

_PlacementSet: Type[PlacementSet]
_ConnectivitySet: Type[ConnectivitySet]
_MorphologyRepository: Type[MorphologyRepository]
_FileStore: Type[FileStore]

def __init__(self, engine, root, comm=None, main=0, missing_ok=True):
"""
Create a Storage provider based on a specific `engine` uniquely identified
Expand Down

0 comments on commit 577f060

Please sign in to comment.