python-lottie  0.6.11+deved4e6c7
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.exporters.tgs_validator.TgsValidator Class Reference
Inheritance diagram for lottie.exporters.tgs_validator.TgsValidator:
Collaboration diagram for lottie.exporters.tgs_validator.TgsValidator:

Public Member Functions

def __init__ (self, severity=Severity.Note)
def check_file_size (self, filename)
def check_size (self, bytes, filename="file")
def check_file (self, filename)
def visit (self, object)
- Public Member Functions inherited from lottie.objects.base.ObjectVisitor
def __call__ (self, lottie_object)
def visit_property (self, object, property, value)

Public Attributes


Additional Inherited Members

- Static Public Attributes inherited from lottie.objects.base.ObjectVisitor
 DONT_RECURSE = object()

Detailed Description

Definition at line 41 of file

Constructor & Destructor Documentation

◆ __init__()

def lottie.exporters.tgs_validator.TgsValidator.__init__ (   self,
  severity = Severity.Note 

Definition at line 42 of file

Member Function Documentation

◆ check_file()

def lottie.exporters.tgs_validator.TgsValidator.check_file (   self,

Definition at line 62 of file

◆ check_file_size()

def lottie.exporters.tgs_validator.TgsValidator.check_file_size (   self,

Definition at line 50 of file

◆ check_size()

def lottie.exporters.tgs_validator.TgsValidator.check_size (   self,
  filename = "file" 

Definition at line 53 of file

◆ visit()

def lottie.exporters.tgs_validator.TgsValidator.visit (   self,

Reimplemented from lottie.objects.base.ObjectVisitor.

Definition at line 74 of file

Member Data Documentation

◆ errors


Definition at line 43 of file

◆ severity


Definition at line 44 of file

The documentation for this class was generated from the following file: