🔷
Pyot Documentation
  • Pyot Documentation
  • Cores
    • Installation
    • Configuration
    • Objects
    • Concurrency
    • Resources
    • Exceptions
    • Warnings
  • Examples
    • Single File
    • Multi Root
    • Module Based
  • Pipeline
    • Expirations
    • Handler
    • Object
    • Token
  • Stores
    • CDragon
    • DDragon
    • DiskCache
    • DjangoCache
    • MerakiCDN
    • MongoDB
    • Omnistone
    • RedisCache
    • RiotAPI
  • Limiters
    • MemoryLimiter
    • RedisLimiter
  • Models
    • League of Legends
      • Champion
      • Championmastery
      • Championrotation
      • Clash
      • Item
      • League
      • Match
      • Merakichampion
      • Merakiitem
      • Profileicon
      • Rune
      • Spectator
      • Spell
      • Status
      • Summoner
      • Thirdpartycode
      • Tournament
    • Legends of Runeterra
      • Card
      • Match
      • Ranked
      • Status
    • Riot Services
      • Account
    • Teamfight Tactics
      • Champion
      • Item
      • League
      • Match
      • Profileicon
      • Summoner
      • Thirdpartycode
      • Trait
    • Valorant
      • Content
      • Match
      • Ranked
      • Status
  • Utils
    • LoL
      • Cdragon
      • Champion
      • Routing
    • LoR
      • Cards
    • Tft
      • Cdragon
      • Routing
    • Aiohttp
    • Copy
    • Functools
    • Importlib
    • Itertools
    • Logging
    • Nullsafe
    • Safejson
    • Sync
    • Text
    • Threading
  • Integrations
    • Django
    • FastAPI
    • Celery
  • Changelog
    • 5.x.x
    • 6.x.x
Powered by GitBook
On this page
  • class Trait
  • class Traits
  • class TraitEffectData
  1. Models
  2. Teamfight Tactics

Trait

Module: pyot.models.tft.trait

class Trait

Type: PyotCore

Definitions:

  • __init__ -> None

    • key: str = empty

    • set: int = empty

    • version: str = models.tft.DEFAULT_VERSION

    • locale: str = models.lol.DEFAULT_LOCALE

Endpoints:

  • cdragon_tft_full: ['?set', '?key', 'version', 'locale']

Methods:

  • method find_set -> None

Attributes:

  • set -> int

  • key -> str

  • name -> str

  • effects -> List[pyot.models.tft.trait.TraitEffectData]

  • icon_path -> str

  • description -> str

class Traits

Type: PyotCore

Definitions:

  • __init__ -> None

    • set: int = -1

    • version: str = models.tft.DEFAULT_VERSION

    • locale: str = models.lol.DEFAULT_LOCALE

  • __iter__ -> Iterator[pyot.models.tft.trait.Trait]

  • __len__ -> int

Endpoints:

  • cdragon_tft_full: ['?set', 'version', 'locale']

Attributes:

  • set -> int

  • traits -> List[pyot.models.tft.trait.Trait]

class TraitEffectData

Type: PyotStatic

Attributes:

  • max_units -> int

  • min_units -> int

  • style -> int

  • variables -> Dict[str, Union[float, str]]

PreviousThirdpartycodeNextValorant

Last updated 2 years ago