[ckan-dev] CKAN API Clients

Sean Hammond sean.hammond at okfn.org
Wed May 16 11:23:20 UTC 2012


> >>> Sean,
> >>>
> >>> I'll fix the issue with localhost issue that you¹ve highlight.
> >>>
> >>> Should the functions `upload_file` and `add_package_resource` become
> >>> methods of the CkanClient class while the helpers remain the `util`
> >>> module? Or do you want to not have a `util` module at all?
> >>
> >>I'd suggest adding to main class. I'm also happy to review the
> >>functions once done (this could substitute for getting you an upload
> >>example).
> >
> >Okay, I've moved all code from the util module into the CkanClient class.
> >ckanclient.loaders.util has been deleted.
> >
> >See the changeset here:
> >
> >https://github.com/slmnhq/ckanclient/commit/d233fcb3f73644b8b505839bedc16d
> >3
> >52434e946

Hey Salman, did you make any more progress on this? Do you want to make
a pull request against okfn/ckanclient and then we can review and merge
your work?




More information about the ckan-dev mailing list