16 lines
466 B
Python
16 lines
466 B
Python
from typing import Optional, Union, Dict, Any
|
|
from uuid import UUID
|
|
from datetime import datetime
|
|
# CORRECCIÓN CLAVE: Se importa el 'validator' para que el decorador funcione
|
|
from pydantic import BaseModel, Field, validator
|
|
from schemas.CredencialSchema import CredencialBaseSchema
|
|
from api.api_v2.modules.pedimentos.schemas import PedimentoBaseSchema
|
|
|
|
|
|
|
|
|
|
class RemesaBaseSchema(BaseModel):
|
|
pedimento: PedimentoBaseSchema
|
|
credencial: CredencialBaseSchema
|
|
|