This repository was archived by the owner on Oct 31, 2024. It is now read-only.
forked from web2py/pydal
-
Notifications
You must be signed in to change notification settings - Fork 0
update with upstream #1
Open
KellerKev
wants to merge
169
commits into
KellerKev:master
Choose a base branch
from
web2py:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* introduce CTE+RECURSIVE * remove unused * allow usage cte in join/left * allow lambda-argument for (to provide single statement cte+recursive), add test * fix dialects (with_cte) * enforce test subselect * revert
…d in Python 3.10. (#662)
Fixes for the following errors: >>> from gluon.dal import DAL >>> db=DAL('oracle://***/***@****:1521/***',auto_import=True, db_codec='latin-1') Traceback (most recent call last): File "*****/web2py/gluon/packages/dal/pydal/base.py", line 507, in __init__ self._adapter = adapter(**kwargs) File "****/web2py/gluon/packages/dal/pydal/adapters/__init__.py", line 41, in __call__ obj = super(AdapterMeta, cls).__call__(*args, **kwargs) File "****/web2py/gluon/packages/dal/pydal/adapters/base.py", line 424, in __init__ super(SQLAdapter, self).__init__(*args, **kwargs) File "*****/web2py/gluon/packages/dal/pydal/adapters/base.py", line 86, in __init__ self._initialize_() TypeError: _initialize_() missing 1 required positional argument: 'do_connect' >>> row = db.executesql(sql, as_dict=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/****/web2py/gluon/packages/dal/pydal/base.py", line 878, in executesql adapter.execute(query) File "/****/web2py/gluon/packages/dal/pydal/adapters/__init__.py", line 69, in wrap return f(*args, **kwargs) File "/****/web2py/gluon/packages/dal/pydal/adapters/oracle.py", line 51, in execute i = 1 AttributeError: 'Oracle' object has no attribute 'REGEX_CLOB'
…'" in connection.py (#670)
* Only use TextIOWrapper if needed Fix the exception when TextIOWrapper is used twice. Happens if IO stream have to be converted before, for instance when CSV file are uploaded dynamically. * Revert fied pikle raw * Re-apply fix pikkle_row Re-apply the pickle_row fix for the PR (isolation of the TextIOWrapper change) * Remove additioal space * Reduce line length for csv reader Address Review comment , line was too long,I shortened it so.
* Fix appveyor fails due to wrong get-pip url * use DownloadFile instead of Start-FileDownload * fix get-pip version specific url
Co-authored-by: Kevin Keller <kevin.keller@snowflake,com>
Co-authored-by: DANIELE SINIBALDI <dsinibaldi@invallee.it>
There are small typos in: - pydal/adapters/google.py - pydal/connection.py - pydal/validators.py - tests/nosql.py Fixes: - Should read `inputted` rather than `inputed`. - Should read `declaration` rather than `declartion`. - Should read `connections` rather than `connectons`. - Should read `comparison` rather than `comparsion`. Signed-off-by: Tim Gates <tim.gates@iress.com>
When using a py4web grid with Select Widget and choosing only one option while multiple = True, the form gives a validation error. This is because in this case, the `value` passed to validate is an integer, while `theset` is a list of strings. By explicitly converting `v` to a string, saving the multiple select works again. I hope this does not break any other logic in the module.
I'm not sure that there is no side-effects, please check it carefully ;-)
fix query builder regex for queries with quoted values
…d_field, and better default validators
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.