mirror of
https://github.com/shmilylty/OneForAll.git
synced 2026-10-25 00:56:14 +08:00
typos
This commit is contained in:
@@ -143,7 +143,6 @@ class Dataset:
|
|||||||
|
|
||||||
if is_valid:
|
if is_valid:
|
||||||
return True
|
return True
|
||||||
else:
|
|
||||||
if not safety:
|
if not safety:
|
||||||
raise InvalidDimensions
|
raise InvalidDimensions
|
||||||
return False
|
return False
|
||||||
@@ -274,7 +273,8 @@ class Dataset:
|
|||||||
"""
|
"""
|
||||||
Export :class:`Dataset` object to `format`.
|
Export :class:`Dataset` object to `format`.
|
||||||
|
|
||||||
:param \\*\\*kwargs: (optional) custom configuration to the format `export_set`.
|
:param format: export format
|
||||||
|
:param kwargs: (optional) custom configuration to the format `export_set`.
|
||||||
"""
|
"""
|
||||||
fmt = registry.get_format(format)
|
fmt = registry.get_format(format)
|
||||||
if not hasattr(fmt, 'export_set'):
|
if not hasattr(fmt, 'export_set'):
|
||||||
|
|||||||
Reference in New Issue
Block a user