mirror of https://github.com/wanadev/yoga.git
main APIs
This commit is contained in:
parent
2575a32e31
commit
21c925f760
|
@ -0,0 +1,2 @@
|
|||
from . import image # noqa
|
||||
from . import model # noqa
|
|
@ -0,0 +1,8 @@
|
|||
from .options import normalize_options
|
||||
|
||||
|
||||
def optimize(input_file, output_file, options={}):
|
||||
options = normalize_options(options)
|
||||
# TODO input_file -> string (path), bytes, file-like
|
||||
# TODO output_file -> string (path), file-like
|
||||
raise NotImplementedError() # TODO
|
|
@ -0,0 +1,5 @@
|
|||
def optimize(input_file, output_file, options={}):
|
||||
# TODO normalize options
|
||||
# TODO input_file -> string (path), bytes, file-like
|
||||
# TODO output_file -> string (path), file-like
|
||||
raise NotImplementedError() # TODO
|
Loading…
Reference in New Issue