Skip to content

Add dunder str for Url

Mateusz Żebrak requested to merge mzebrak/url-str into develop

... so it will be easier to use

Rationale: we already had such a shortcut for clive Url dataclass

more straight-forward to use e.g

settings["secrets.node_address"] = str(node.http_endpoint)

than

settings["secrets.node_address"] = node.http_endpoint.as_string()

Merge request reports

Loading