commit/galaxy-central: dannon: Cleanup imports, fix reference to 'libraries' in example.
1 new commit in galaxy-central: https://bitbucket.org/galaxy/galaxy-central/changeset/59e3badd56fd/ changeset: 59e3badd56fd user: dannon date: 2012-09-12 18:57:42 summary: Cleanup imports, fix reference to 'libraries' in example. affected #: 1 file diff -r 81529070d60df960ae226d7d31a422b6f8febb0c -r 59e3badd56fd2805b9f89f9b5d2f7dcf6189e74c lib/galaxy/web/api/history_contents.py --- a/lib/galaxy/web/api/history_contents.py +++ b/lib/galaxy/web/api/history_contents.py @@ -3,8 +3,7 @@ """ import logging from galaxy import web -from galaxy.web.base.controller import * -from galaxy.model.orm import * +from galaxy.web.base.controller import BaseAPIController, url_for, UsesHistoryDatasetAssociationMixin, UsesHistoryMixin, UsesLibraryMixin, UsesLibraryMixinItems import pkg_resources pkg_resources.require( "Routes" ) @@ -73,7 +72,7 @@ @web.expose_api def create( self, trans, history_id, payload, **kwd ): """ - POST /api/libraries/{encoded_history_id}/contents + POST /api/histories/{encoded_history_id}/contents Creates a new history content item (file, aka HistoryDatasetAssociation). """ from_ld_id = payload.get( 'from_ld_id', None ) @@ -99,3 +98,4 @@ # TODO: implement other "upload" methods here. trans.response.status = 403 return "Not implemented." + Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket