mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-04 14:52:12 +08:00
feat(api): provide Workspace and execution API foundations
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
from langbot.pkg.api.context import ExecutionContext, RequestContext
|
||||
from langbot.pkg.api.http.context import ExecutionContext as HTTPExecutionContext
|
||||
from langbot.pkg.api.http.context import RequestContext as HTTPRequestContext
|
||||
|
||||
|
||||
def test_application_context_types_are_http_independent_and_compatibly_reexported():
|
||||
assert RequestContext is HTTPRequestContext
|
||||
assert ExecutionContext is HTTPExecutionContext
|
||||
assert RequestContext.__module__ == 'langbot.pkg.api.context'
|
||||
Reference in New Issue
Block a user