264fcdaecf3a27681c7a45edcbd743687b5d83c5,Orange/data/sql/table.py,SqlTable,__init__,#SqlTable#Any#Any#Any#Any#Any#Any#Any#,19
Before Change
if uri is not None:
parsed_uri = parse.urlparse(uri)
host = parsed_uri.hostname
path = parsed_uri.path.strip("/")
database, table = path.split("/")
user = parsed_uri.username
password = parsed_uri.password
scheme = "pgsql"
After Change
schema=schema
)
if uri is not None:
parameters = self._parse_uri(uri)
table = parameters.pop("table")
connection_args.update(parameters)
self.connection = psycopg2.connect(**connection_args)
self.table_name = self.name = table
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: biolab/orange3
Commit Name: 264fcdaecf3a27681c7a45edcbd743687b5d83c5
Time: 2013-08-19
Author: anze.staric@gmail.com
File Name: Orange/data/sql/table.py
Class Name: SqlTable
Method Name: __init__
Project Name: IDSIA/sacred
Commit Name: a448f7280fdc06b35e73a94624d2d45dd00fba0d
Time: 2015-02-18
Author: qwlouse@gmail.com
File Name: tests/test_examples.py
Class Name:
Method Name: test_hello_config_dict
Project Name: prody/ProDy
Commit Name: 2d591a1505e554d0f072ab567583f8da69deb6cb
Time: 2018-03-27
Author: hongchun@pitt.edu
File Name: prody/ensemble/dali.py
Class Name:
Method Name: daliSearchPDB