-
Notifications
You must be signed in to change notification settings - Fork 892
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1040 from julep-ai/dev
dev -> main
- Loading branch information
Showing
522 changed files
with
23,673 additions
and
23,399 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,11 @@ jobs: | |
uses: astral-sh/setup-uv@v4 | ||
with: | ||
enable-cache: true | ||
|
||
- name: Install Go migrate | ||
uses: jaxxstorm/[email protected] | ||
with: # Grab the latest version | ||
repo: golang-migrate/migrate | ||
|
||
- name: Set up python and install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,11 @@ jobs: | |
uses: astral-sh/setup-uv@v4 | ||
with: | ||
enable-cache: true | ||
|
||
- name: Install Go migrate | ||
uses: jaxxstorm/[email protected] | ||
with: # Grab the latest version | ||
repo: golang-migrate/migrate | ||
|
||
- name: Set up python and install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,6 +31,11 @@ jobs: | |
uses: astral-sh/setup-uv@v4 | ||
with: | ||
enable-cache: true | ||
|
||
- name: Install Go migrate | ||
uses: jaxxstorm/[email protected] | ||
with: # Grab the latest version | ||
repo: golang-migrate/migrate | ||
|
||
- name: Set up python and install dependencies | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,4 @@ ngrok* | |
*/node_modules/ | ||
.aider* | ||
.vscode/ | ||
schema.sql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
notebooks/ | ||
|
||
# Local database files | ||
cozo.db | ||
temporal.db | ||
*.bak | ||
*.dat | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,18 @@ | ||
from typing import Callable | ||
|
||
from temporalio import activity | ||
|
||
from ..env import testing | ||
|
||
|
||
async def demo_activity(a: int, b: int) -> int: | ||
# Should throw an error if testing is not enabled | ||
raise Exception("This should not be called in production") | ||
msg = "This should not be called in production" | ||
raise Exception(msg) | ||
|
||
|
||
async def mock_demo_activity(a: int, b: int) -> int: | ||
return a + b | ||
|
||
|
||
demo_activity: Callable[[int, int], int] = activity.defn(name="demo_activity")( | ||
demo_activity = activity.defn(name="demo_activity")( | ||
demo_activity if not testing else mock_demo_activity | ||
) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.