Add lang-tag based task selection (lang-separation) (#863)

* lang based task selection

* use BCP 47 instead of ISO 639-1

* add Field(None, nullable=True)

* update migration script down_revision
This commit is contained in:
Andreas Köpf
2023-01-20 19:58:33 +01:00
committed by GitHub
parent 70fc80aa08
commit 2d21b65ed0
9 changed files with 90 additions and 26 deletions
@@ -73,6 +73,7 @@ async def test_can_post_interaction(oasst_api_client_mocked: OasstApiClient):
message_id="123",
user_message_id="321",
text="This is my reply",
lang="en",
user=protocol_schema.User(
id="123",
display_name="lomz",