未验证 提交 f62dfc62 编写于 作者: Z zhangchunle 提交者: GitHub

fs_wrapper add __all__ (#24335)

上级 5b285470
...@@ -30,9 +30,9 @@ except ImportError: ...@@ -30,9 +30,9 @@ except ImportError:
import paddle.reader import paddle.reader
import paddle.dataset import paddle.dataset
import paddle.batch import paddle.batch
batch = batch.batch
import paddle.compat import paddle.compat
import paddle.distributed import paddle.distributed
batch = batch.batch
import paddle.sysconfig import paddle.sysconfig
import paddle.tensor import paddle.tensor
import paddle.nn import paddle.nn
......
...@@ -11,3 +11,6 @@ ...@@ -11,3 +11,6 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from . import fs_wrapper
__all__ = fs_wrapper.__all__
...@@ -19,6 +19,8 @@ import os ...@@ -19,6 +19,8 @@ import os
from pathlib import PurePosixPath from pathlib import PurePosixPath
import shutil import shutil
__all__ = ['FS', 'LocalFS', 'BDFS']
class FS(object): class FS(object):
@abc.abstractmethod @abc.abstractmethod
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册