MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / __to_string__

Method __to_string__

lib/sqlalchemy/engine/url.py:621–628  ·  view source on GitHub ↗

Render this :class:`_engine.URL` object as a string. :param hide_password: Defaults to True. The password is not shown in the string unless this is set to False.

(self, hide_password: bool = True)

Source from the content-addressed store, hash-verified

619 ":meth:`_engine.URL.render_as_string` method.",
620 )
621 def __to_string__(self, hide_password: bool = True) -> str:
622 """Render this :class:`_engine.URL` object as a string.
623
624 :param hide_password: Defaults to True. The password is not shown
625 in the string unless this is set to False.
626
627 """
628 return self.render_as_string(hide_password=hide_password)
629
630 def render_as_string(self, hide_password: bool = True) -> str:
631 """Render this :class:`_engine.URL` object as a string.

Callers

nothing calls this directly

Calls 1

render_as_stringMethod · 0.95

Tested by

no test coverage detected