File size: 397 Bytes
60e3a80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
from typing import Optional

from overrides import overrides

from chromadb.quota import QuotaProvider, Resource


class QuotaProviderForTest(QuotaProvider):
    def __init__(self, system) -> None:
        super().__init__(system)

    @overrides
    def get_for_subject(
        self, resource: Resource, subject: Optional[str] = "", tier: Optional[str] = ""
    ) -> Optional[int]:
        pass