From 8b954e0a7e5982c2074a1a3541a57201e875b51c Mon Sep 17 00:00:00 2001 From: snowykami Date: Sat, 12 Oct 2024 23:34:36 +0800 Subject: [PATCH] :sparkles: first comm --- .github/workflows/pypi-publish.yml | 2 +- magicoca/__init__.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pypi-publish.yml b/.github/workflows/pypi-publish.yml index 8e40ff9..402eae8 100644 --- a/.github/workflows/pypi-publish.yml +++ b/.github/workflows/pypi-publish.yml @@ -3,7 +3,7 @@ name: Publish on: push: tags: - - '*' + - 'v*' jobs: pypi-publish: diff --git a/magicoca/__init__.py b/magicoca/__init__.py index e69de29..438b581 100644 --- a/magicoca/__init__.py +++ b/magicoca/__init__.py @@ -0,0 +1,5 @@ +from magicoca.chan import Chan, T + + +def select(*args: Chan[T]) -> T: + return Chan.select(*args) \ No newline at end of file