Skip to content

Quest -> History#84

Open
cwebbles wants to merge 15 commits intomainfrom
collin/RENAME
Open

Quest -> History#84
cwebbles wants to merge 15 commits intomainfrom
collin/RENAME

Conversation

@cwebbles
Copy link
Copy Markdown
Contributor

@cwebbles cwebbles commented Apr 2, 2025

Old New
Quest History
WorkflowManager Historian
.start_workflow .start_soon
.has_workflow .has
.get_workflow_result .get_result
Historian History
History Book
PersistentHistory PersistentList

And other renames for simplicity and theme

async def test_basic_workflow():
history = []
historian = Historian(
historian = History(
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should probably rename these historians and historys

"""import pytest

from src.quest import these
from src.history import these
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be importing from src. Let's fix it while we are here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test_context.py is commented out? Is that on purpose?

manager = find_workflow_manager()
workflow_id = find_historian().workflow_id
manager = find_historian()
workflow_id = find_history().workflow_id
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is workflow_id still good terminology?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think story is good for the theme, I wonder if it is obvious to the user what its function is?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants