o
    -wi                     @   s   dddZ e   dS )returnNc                  C   s   ddl m}  | jj }dddd |D  d d dd	d
 |D  }tdd}|| W d   dS 1 s<w   Y  dS )zGenerate a class definition listing the deprecated features.
    This is to allow static checks to ensure that proper field names are used.
        )
Deprecatedz# Generated by wandb/proto/wandb_internal_codegen.py.  DO NOT EDIT!

from typing import Literal
DEPRECATED_FEATURES = Literal[
z,
c                 s   s    | ]	}d | dV  qdS )z    ""N .0featurer   r   b/home/ubuntu/sommelier/.venv/lib/python3.10/site-packages/wandb/proto/wandb_generate_deprecated.py	<genexpr>   s    z7generate_deprecated_class_definition.<locals>.<genexpr>z]

class Deprecated:
 c                 S   s   g | ]}d | d| dqS )z    z: DEPRECATED_FEATURES = "z"
r   r   r   r   r	   
<listcomp>   s    z8generate_deprecated_class_definition.<locals>.<listcomp>zwandb_deprecated.pywN)wandb.proto.wandb_telemetry_pb2r   
DESCRIPTORfields_by_namekeysjoinopenwrite)r   deprecated_featurescodefr   r   r	   $generate_deprecated_class_definition   s&   "r   )r   N)r   r   r   r   r	   <module>   s   

