JsonPath¶
-
class
dasha.web.extensions.ipc_backends.rejson.
JsonPath
(path='.')[source]¶ Bases:
rejson.path.Path
This extends
Path
with various helpers.Make a new path based on the string representation in
path
Attributes Summary
Methods Summary
is_absolute
(self)is_empty
(self)is_root
(self)joinpath
(self, other)Join this path with
other
.relative_to
(self, other)Compute a version of this path relative to
other
.Attributes Documentation
-
name
¶
-
parent
¶
-
root
= '.'¶
-
sep
= '.'¶
Methods Documentation
-
joinpath
(self, other)[source]¶ Join this path with
other
.ValueError
is raised ifother
is absolute.
-