Coverage for src/kwai/api/v1/resources.py: 100%

4 statements  

« prev     ^ index     » next       coverage.py v7.6.10, created at 2024-01-01 00:00 +0000

1"""Module that defines common JSON:API resource identifiers.""" 

2 

3from typing import Literal 

4 

5from kwai.core.json_api import ResourceIdentifier 

6 

7 

8class CountryResourceIdentifier(ResourceIdentifier): 

9 """A JSON:API resource identifier for a country.""" 

10 

11 type: Literal["countries"] = "countries"