Coverage for .nox/test-3-12/lib/python3.12/site-packages/nskit/recipes/python/api.py: 0%

7 statements  

« prev     ^ index     » next       coverage.py v7.3.3, created at 2023-12-19 17:42 +0000

1"""API Service Recipe.""" 

2from typing import List, Union 

3 

4from pydantic import Field 

5 

6from nskit.mixer import File, Folder 

7from nskit.recipes.python import ingredients, PyRecipe 

8from nskit.recipes.python.ingredients import api as api_ingredients 

9 

10 

11class APIRecipe(PyRecipe): 

12 """API Service Recipe.""" 

13 

14 contents: List[Union[File, Folder]] = Field( 

15 [ 

16 ingredients.gitignore, 

17 ingredients.noxfile, 

18 ingredients.pre_commit, 

19 api_ingredients.pyproject_toml, 

20 api_ingredients.readme_md, 

21 ingredients.test_dir, 

22 api_ingredients.src_dir, 

23 api_ingredients.docker.dockerignore, 

24 api_ingredients.docker.api_dockerfile, 

25 ingredients.docs_dir 

26 ], 

27 description='The folder contents')