Skip to content

Commit

Permalink
complete
Browse files Browse the repository at this point in the history
  • Loading branch information
csreesan committed Aug 2, 2024
1 parent a4261c6 commit b268ac8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion substrate/GEN_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20240617.20240727
20240617.20240802
5 changes: 3 additions & 2 deletions substrate/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""
𐃏 Substrate Python SDK
20240617.20240727
20240617.20240802
"""

from .nodes import (
Expand Down Expand Up @@ -51,11 +51,12 @@
)
from .core.sb import sb
from ._version import __version__
from .substrate import Substrate, SubstrateResponse
from .substrate import Secrets, Substrate, SubstrateResponse
from .run_python import RunPython

__all__ = [
"__version__",
"Secrets",
"SubstrateResponse",
"sb",
"Substrate",
Expand Down
3 changes: 2 additions & 1 deletion substrate/core/sb.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
"""
CORE ꩜ SUBSTRATE
"""
from typing import Any, Union
from re import template
from typing import Any, Dict, Union

from .client.future import Future
from .future_directive import (
Expand Down
4 changes: 4 additions & 0 deletions substrate/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import warnings

from .substrate import SubstrateResponse
from .core.corenode import CoreNode

# filter pydantic v2 deprecation warnings
Expand All @@ -17,6 +18,7 @@
CLIPOut,
JinaV2Out,
EmbedTextOut,
RunPythonOut,
EmbedImageOut,
EraseImageOut,
ComputeJSONOut,
Expand Down Expand Up @@ -57,6 +59,7 @@
StableDiffusionXLControlNetOut,
)
from typing import Any, Dict, List, Optional
from dataclasses import dataclass
from typing_extensions import Literal

from .future_dataclass_models import (
Expand All @@ -65,6 +68,7 @@
FutureCLIPOut,
FutureJinaV2Out,
FutureEmbedTextOut,
FutureRunPythonOut,
FutureEmbedImageOut,
FutureEraseImageOut,
FutureComputeJSONOut,
Expand Down

0 comments on commit b268ac8

Please sign in to comment.