Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from MarketSquare:master #6

Open
wants to merge 248 commits into
base: master
Choose a base branch
from

Conversation

pull[bot]
Copy link

@pull pull bot commented Jul 17, 2023

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

emanlove and others added 30 commits October 26, 2021 14:44
From my somewhat limited looking into all the Python database modules
only pymssql allows for the as_dict argument. This change makes it not
an inclusion of all the other modules but an exclusion except for the
one, pymssql.
- Switched dbConfigFile from hardcoded default argument to None and then
  a check if None set to value. This might not be necessary as a string
  should NOT be a mutable object and thus not a problem. But going to
  leave this in here anyways.
  I'll note I don't know what this configfile is nor is there a resource
  folder so this might need to be updated anyways.
- Corrected issue with the PyODBC connection string with the correct
  format being host:port and not a comma between the two.
… it can stay as object with the value 'disconnected' (e.g. in Oracle) - in this case a next call of the keyword 'Disconnect From Database' won't work properly
…connection strings with and without quotes"

This reverts commit 042c08f.
…on String" for connection strings. The original keyword 'Connect using custom params' handles params map strings only,
amochin and others added 30 commits February 27, 2024 15:05
Fix handling query params for MS SQL #211
… 5.0.1 (#215)

* Keyword 'Check Row Count' using assertion engine

* Deprecate old "row count" assertion keywords

* Link to Assertion Engine in docs

* Deprecate duplicating "check exists" assertion keywords

* Log returned number of rows for possible debugging purposes

* Put Assertion Engine to dependencies

* Require min. Python 3.8 and RF 5.0.1

* improve common docs

* New keyword 'Check Query Result'

* Typo in docs
…uery Result' (#216)

* Retry mechanism for assertion keywords 'Check Row Count' and 'Check Query Result' (fix #209)

* Log message if timeout reached
* Log query results as a table (fix #147)

* Formatting

* Consistent naming of internal functions
… a dedicated keyword 'Set Logging Query Results' (#218)
Calling a stored procedure in MSSQL - special handling of OUT params
The entire connection logic and implementation was refactored

* There is only one mandatory parameter left - dbapiModuleName, it must be set - either as keyword argument or in config file.
* All other parameters are optional now. So if some connection data was missing, the error would come not from the Database Library, but from the Python DB module.
* If some params are not provided, they are not set to None - they are just not passed to the Python DB module at all.
* Other custom params from keyword arguments and config file are passed to the Python DB module as provided
* All parameters can be now set in a config file - including any custom params
* If same custom parameter is provided both as a keyword argument and in config file, the keyword argument value takes precedence.

Other changes

* Deprecate the Connect To Database Using Custom Params Keyword - it's not needed anymore, the updated Connect To Database keyword replaces it fully
* Stop using localhost as fallback value for DB host
* Stop using {SQL Server} as fallback value for pyodbc driver
* Update docs for the Connect To Database keyword, move docs for using the config file in a separate section
* Pythonic naming for keyword arguments (fix Use Python convention naming #188)
* Shorter / more precise names for some parameters
* Big cleanup of all docs
… set empty, allow custom params in connection string (similar to pyodbc), "TCPIP" is no default protocol value anymore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants