python-lottie  0.6.11+devcecd248
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:
[legend]
Collaboration diagram for lottie.exporters.tgs_validator.TgsValidator:
[legend]

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

 errors
 
 severity
 

Additional Inherited Members

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

Detailed Description

Definition at line 41 of file tgs_validator.py.

Constructor & Destructor Documentation

◆ __init__()

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

Definition at line 42 of file tgs_validator.py.

Member Function Documentation

◆ check_file()

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

Definition at line 62 of file tgs_validator.py.

◆ check_file_size()

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

Definition at line 50 of file tgs_validator.py.

◆ check_size()

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

Definition at line 53 of file tgs_validator.py.

◆ visit()

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

Reimplemented from lottie.objects.base.ObjectVisitor.

Definition at line 74 of file tgs_validator.py.

Member Data Documentation

◆ errors

lottie.exporters.tgs_validator.TgsValidator.errors

Definition at line 43 of file tgs_validator.py.

◆ severity

lottie.exporters.tgs_validator.TgsValidator.severity

Definition at line 44 of file tgs_validator.py.


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