fhirpath.connectors package¶
Subpackages¶
Submodules¶
fhirpath.connectors.connection module¶
fhirpath.connectors.interfaces module¶
fhirpath.connectors.url module¶
Idea has been take from SQLAlchemy @from: sqlalchemy/engine/url.py But we modified according to our requirements. ——————————————————————- Copyright (C) 2005-2019 the SQLAlchemy authors and contributors <see AUTHORS file> This module is part of SQLAlchemy and is released under the MIT License: http://www.opensource.org/licenses/mit-license.php ——————————————————————–
- class fhirpath.connectors.url.URL(drivername, username=None, password=None, host=None, port=None, database=None, query=None)[source]¶
Bases:
object
Represent the components of a URL used to connect to a database.
This object is suitable to be passed directly to a
create_engine()
call. The fields of the URL are parsed from a string by themake_url()
function. the string format of the URL is an RFC-1738-style string.All initialization parameters are available as public attributes.
- Parameters
drivername – the name of the database backend. This name will correspond to a module in sqlalchemy/databases or a third party plug-in.
username – The user name.
password – database password.
host – The name of the host.
port – The port number.
database – The database name.
query – A dictionary of options to be passed to the dialect and/or the DBAPI upon connect.
- property password¶
- translate_connect_args(names=None, **kw)[source]¶
Translate url attributes into a dictionary of connection arguments.
Returns attributes of this url (host, database, username, password, port) as a plain dictionary. The attribute names are used as the keys by default. Unset or false attributes are omitted from the final dictionary.
- Parameters
**kw – Optional, alternate key names for url attributes.
names – Deprecated. Same purpose as the keyword-based alternate names, but correlates the name to the original positionally.