![]() |
Protocol for pathlib.PurePath-like API.
tfds.typing.PurePath(
*args, **kwargs
)
Attributes | |
---|---|
parent
|
|
parents
|
Methods
as_posix
as_posix() -> str
as_uri
as_uri() -> str
is_absolute
is_absolute() -> bool
is_relative_to
is_relative_to(
*other
) -> bool
Return True if the path is relative to another path or False.
is_reserved
is_reserved() -> bool
joinpath
joinpath(
*other
) -> tfds.typing.T
match
match(
path_pattern: str
) -> bool
relative_to
relative_to(
*other
) -> tfds.typing.T
with_name
with_name(
name: str
) -> tfds.typing.T
with_suffix
with_suffix(
suffix: str
) -> tfds.typing.T
__ge__
__ge__(
other: 'PurePath'
) -> bool
Return self>=value.
__gt__
__gt__(
other: 'PurePath'
) -> bool
Return self>value.
__le__
__le__(
other: 'PurePath'
) -> bool
Return self<=value.
__lt__
__lt__(
other: 'PurePath'
) -> bool
Return self<value.
__rtruediv__
__rtruediv__(
key: tfds.core.PathLike
) -> tfds.typing.T
__truediv__
__truediv__(
key: tfds.core.PathLike
) -> tfds.typing.T