Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
Refactored code into another package (#8)
Browse files Browse the repository at this point in the history
  • Loading branch information
spietras committed Jul 30, 2022
1 parent d1b2a66 commit e671384
Show file tree
Hide file tree
Showing 6 changed files with 67 additions and 215 deletions.
72 changes: 56 additions & 16 deletions kilroy_module_client_py_sdk/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 3 additions & 4 deletions kilroy_module_client_py_sdk/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "kilroy-module-client-py-sdk"
version = "0.3.1"
version = "0.4.0"
description = "SDK for kilroy module clients in Python 🧰"
readme = "README.md"
authors = ["kilroy <kilroymail@pm.me>"]
Expand All @@ -11,9 +11,8 @@ documentation = "https://kilroybot.github.io/kilroy-module-client-py-sdk"

[tool.poetry.dependencies]
python = "^3.9"
kilroy-ws-client-py-sdk = "^0.4"
pydantic = "^1.9"
jsonschema = "^4.7"
kilroy-ws-client-py-sdk = "~0.4"
kilroy-module-py-shared = "~0.2"

# dev

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from kilroy_module_client_py_sdk.client import ModuleClient
from kilroy_module_client_py_sdk.models import (
from kilroy_module_py_shared import (
Config,
ConfigNotification,
ConfigSchema,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import json
from typing import AsyncIterable, Iterable, Type, TypeVar, Union

from kilroy_ws_client_py_sdk import Client, JSON
from kilroy_ws_client_py_sdk.utils import asyncify
from pydantic import BaseModel

from kilroy_module_client_py_sdk.models import (
from kilroy_module_py_shared import (
Config,
ConfigNotification,
ConfigSchema,
Expand All @@ -25,6 +21,9 @@
StepReply,
StepRequest,
)
from kilroy_ws_client_py_sdk import Client, JSON
from kilroy_ws_py_shared import asyncify
from pydantic import BaseModel

M = TypeVar("M", bound=BaseModel)

Expand Down
185 changes: 0 additions & 185 deletions kilroy_module_client_py_sdk/src/kilroy_module_client_py_sdk/models.py

This file was deleted.

7 changes: 3 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

[tool.poetry]
name = "kilroy-module-client-py-sdk"
version = "0.3.1"
version = "0.4.0"
description = "SDK for kilroy module clients in Python 🧰"
readme = "kilroy_module_client_py_sdk/README.md"
authors = ["kilroy <kilroymail@pm.me>"]
Expand All @@ -15,9 +15,8 @@ packages = [{ include = "kilroy-module-client-py-sdk", from = "kilroy_module_cli

[tool.poetry.dependencies]
python = "^3.9"
kilroy-ws-client-py-sdk = "^0.4"
pydantic = "^1.9"
jsonschema = "^4.7"
kilroy-ws-client-py-sdk = "~0.4"
kilroy-module-py-shared = "~0.2"

# dev

Expand Down

0 comments on commit e671384

Please sign in to comment.