#1799 hub: document cg_import parameters
Merged 2 years ago by tkopecek. Opened 2 years ago by ktdreyer.
ktdreyer/koji doc-hub-cg-import  into  master

file modified
@@ -5864,6 +5864,14 @@ 

      - json encoded string representing the metadata

      - a dictionary (parsed metadata)

      - a filename containing the metadata


+     :param metadata: describes the content for this build.

+     :param str directory: directory on the hub where files are located

+     :param str token: (optional) a reservation token for this build.

+                       You obtain a token from the CGInitBuild method.

+                       If you specify a token, you must also specify a build_id

+                       in the metadata.

+     :returns: buildinfo dict



      importer = CG_Importer()

Document the parameters for the CGImport API call.

Commit 0852e20 fixes this pull-request

Pull-Request has been merged by tkopecek

2 years ago