(filename)
| 265 | |
| 266 | |
| 267 | def _dot_postgresql_path(filename) -> typing.Optional[pathlib.Path]: |
| 268 | try: |
| 269 | homedir = pathlib.Path.home() |
| 270 | except (RuntimeError, KeyError): |
| 271 | return None |
| 272 | |
| 273 | return (homedir / '.postgresql' / filename).resolve() |
| 274 | |
| 275 | |
| 276 | def _parse_connect_dsn_and_args(*, dsn, host, port, user, |
no outgoing calls
no test coverage detected
searching dependent graphs…