Coverage for C: \ Users \ peaco \ OneDrive \ Documents \ GitHub \ mt_metadata \ mt_metadata \ timeseries \ auxiliary.py: 100%

6 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-10 00:11 -0800

1# ===================================================== 

2# Imports 

3# ===================================================== 

4from typing import Annotated 

5 

6from pydantic import Field, PrivateAttr 

7 

8from mt_metadata.timeseries import Channel 

9 

10 

11# ===================================================== 

12 

13 

14class Auxiliary(Channel): 

15 """ 

16 Auxiliary channel class for storing auxiliary channel information. 

17 """ 

18 

19 _channel_type: str = PrivateAttr("auxiliary") 

20 

21 type: Annotated[ 

22 str, 

23 Field( 

24 default="auxiliary", 

25 description="Data type for the channel, should be a descriptive word that a user can understand.", 

26 alias=None, 

27 json_schema_extra={ 

28 "units": None, 

29 "required": True, 

30 "examples": "auxiliary", 

31 "type": "string", 

32 }, 

33 ), 

34 ]