Skip to content

Commit

Permalink
✨ import Insert
Browse files Browse the repository at this point in the history
  • Loading branch information
H2Sxxa committed Apr 21, 2024
1 parent c198923 commit 214a448
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/saleyo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
from .operation import ReName as ReName
from .operation import Alias as Alias
from .operation import Ancestor as Ancestor
from .operation import Insert as Insert
from .base.toolchain import ToolChain as ToolChain
from .base.toolchain import Arguments as Arguments
from .base.toolchain import InvokeEvent as InvokeEvent
Expand Down
2 changes: 1 addition & 1 deletion src/saleyo/base/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def __init__(self, *namespace: Optional[NameSpace]) -> None:
k: v for _ in namespace if _ is not None for k, v in _.items()
}

def exec(self, source: str) -> Dict[str, Any]:
def exec(self, source: str) -> NameSpace:
exec(source, self.environment)
return self.environment

Expand Down
1 change: 1 addition & 0 deletions src/saleyo/operation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
from .modify import ReName as ReName
from .modify import Del as Del
from .modify import Alias as Alias
from .modify import Insert as Insert
from .hook import Pre as Pre
from .hook import Post as Post

0 comments on commit 214a448

Please sign in to comment.