Source code for depot_service.models.presto
from typing import Optional
from pydantic import BaseModel
from pydantic.fields import Field
[docs]class Presto(BaseModel):
url: Optional[str]
host: Optional[str]
port: Optional[int]
catalog: Optional[str]
schema_: Optional[str]= Field(alias="schema")