One small step for your business, a giant leap towards innovation
Igniting revolutionary ideas with cutting-edge solutions in a
fusion of technology and creativity.
Let’s Connect
fusion of technology and creativity.
from pydantic import BaseModel
class Asteroid(BaseModel):
name: str
diameter: float
type: str
class Asteroid(BaseModel): name: str; diameter: float; type: str
Asteroid(name='Yelliko', diameter=513.0, type='S')
asteroid = {
"name": "Yelliko",
"diameter": 513.0,
"type": "S"
}
{"name": "Yelliko", "diameter": 513.0, "type": "S"}
{"asteroid": {"name": "Yelliko", "diameter": 513.0, "type": "S"}}