You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be straightforward. We use paste.deploy's asbool, asint, aslist (specially asbool) in different parts of the code and they are exposed on the toolkit. Basically we need to implement our own versions of them and replace the references
Approach
Write our implementation of the three functions based on the current ones. These need to be imported early in the execution, so they should be probably placed in ckan/common.py or ckan/lib/base.py.
Replace all imports in the code base from paste.deploy.converters to the new location.
This should be straightforward. We use paste.deploy's
asbool
,asint
,aslist
(speciallyasbool
) in different parts of the code and they are exposed on the toolkit. Basically we need to implement our own versions of them and replace the referencesApproach
ckan/common.py
orckan/lib/base.py
.paste.deploy.converters
to the new location.Story points
3
The text was updated successfully, but these errors were encountered: