code: def __init__(self, default: Any = Undefined, **kwargs: Any) -> None:
      primary_key = kwargs.pop("primary_key", False)
      nullable = kwargs.pop("nullable", Undefined)
      foreign_key = kwargs.pop("foreign_key", Undefined)
      unique = kwargs.pop("unique", False)
      index = kwargs.pop("index", Undefined)
      sa_type = kwargs.pop("sa_type", Undefined)
      sa_column = kwargs.pop("sa_column", Undefined)
      sa_column_args = kwargs.pop("sa_column_args", Undefined)
      sa_column_kwargs = kwargs.pop("sa_column_kwargs", Undefined)
      if sa_column is not Undefined:
          if sa_column_args is not Undefined:
              raise RuntimeError(
                  "Passing sa_column_args is not supported when "
                  "also passing a sa_column"
              )
          if sa_column_kwargs is not Undefined:
              raise RuntimeError(
                  "Passing sa_column_kwargs is not supported when "
                  "also passing a sa_column"
              )
          if primary_key is not Undefined:
              raise RuntimeError(
                  "Passing primary_key is not supported when "
                  "also passing a sa_column"
              )
          if nullable is not Undefined:
              raise RuntimeError(
                  "Passing nullable is not supported when "
                  "also passing a sa_column"
              )
          if foreign_key is not Undefined:
              raise RuntimeError(
                  "Passing foreign_key is not supported when "
                  "also passing a sa_column"
              )
          if unique is not Undefined:
              raise RuntimeError(
                  "Passing unique is not supported when also passing a sa_column"
              )
          if index is not Undefined:
              raise RuntimeError(
                  "Passing index is not supported when also passing a sa_column"
              )
          if sa_type is not Undefined:
              raise RuntimeError(
                  "Passing sa_type is not supported when also passing a sa_column"
              )
      super().__init__(default=default, **kwargs)
      self.primary_key = primary_key
      self.nullable = nullable
      self.foreign_key = foreign_key
      self.unique = unique
      self.index = index
      self.sa_type = sa_type
      self.sa_column = sa_column
      self.sa_column_args = sa_column_args
      self.sa_column_kwargs = sa_column_kwargs
  
imports: import ipaddress
  import uuid
  import weakref
  from datetime import date, datetime, time, timedelta
  from decimal import Decimal
  from enum import Enum
  from pathlib import Path
  from typing import AbstractSet, Any, Callable, ClassVar, Dict, List, Mapping, Optional, Sequence, Set, Tuple, Type, TypeVar, Union, cast, overload
  from pydantic import BaseModel
  from pydantic.fields import FieldInfo
  from sqlalchemy import Boolean, Column, Date, DateTime, Float, ForeignKey, Integer, Interval, Numeric, inspect
  from sqlalchemy import Enum
  from sqlalchemy.orm import Mapped, RelationshipProperty, declared_attr, registry, relationship
  from sqlalchemy.orm.attributes import set_attribute
  from sqlalchemy.orm.decl_api import DeclarativeMeta
  from sqlalchemy.orm.instrumentation import is_instrumented
  from sqlalchemy.sql.schema import MetaData
  from sqlalchemy.sql.sqltypes import LargeBinary, Time
  from typing_extensions import Literal, deprecated, get_origin
  from ._compat import IS_PYDANTIC_V2, BaseConfig, ModelField, ModelMetaclass, Representation, SQLModelConfig, Undefined, UndefinedType, _calculate_keys, finish_init, get_annotations, get_config_value, get_field_metadata, get_model_fields, get_relationship_to, get_type_from_field, is_field_noneable, is_table_model_class, post_init_field_info, set_config_value, set_fields_set, sqlmodel_init, sqlmodel_validate
  from .sql.sqltypes import GUID, AutoString
label_desc: Use image node_id 1 to create a new FieldInfo object from inherited base classes: PydanticFieldInfo with example: obj = FieldInfo(default)