Skip to content

Commit

Permalink
fix: Issue with subscripting a primitive tuple type
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov committed Oct 23, 2023
1 parent 02b4ac0 commit 3e2803f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chromadb/test/auth/test_simple_rbac_authz.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random
import shutil
import string
from typing import IO, Dict, Any, Generator
from typing import IO, Dict, Any, Generator, Tuple
import uuid
import hypothesis.strategies as st
import pytest
Expand Down Expand Up @@ -72,7 +72,7 @@ def invalid_token(draw: st.DrawFn) -> str:


@st.composite
def user_role_config(draw: st.DrawFn) -> tuple[Dict[str, Any], Dict[str, Any]]:
def user_role_config(draw: st.DrawFn) -> Tuple[Dict[str, Any], Dict[str, Any]]:
role = draw(role_name)
user = draw(user_name)
actions_list = draw(actions)
Expand Down

0 comments on commit 3e2803f

Please sign in to comment.