Skip to main content
Glama
models.py530 B
""" SQLAlchemy models for quotes resource """ from sqlalchemy import Column, Integer, String, Text from src.models.base import Base class Quote(Base): """Model for storing inspirational quotes""" __tablename__ = 'myorg_quotes' id = Column(Integer, primary_key=True, autoincrement=True) author = Column(String(255), nullable=False, index=True) quote = Column(Text, nullable=False) def __repr__(self): return f"<Quote(id={self.id}, author='{self.author}', quote='{self.quote[:50]}...')>"

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GeorgeStrakhov/mcpeasy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server