File: python-client.rst

package info (click to toggle)
debusine 0.14.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 15,056 kB
  • sloc: python: 193,072; sh: 848; javascript: 335; makefile: 116
file content (29 lines) | stat: -rw-r--r-- 775 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
=================
Python client API
=================

The Debusine class
==================

.. autoclass:: debusine.client.debusine.Debusine

Associated data models
======================

The parameters of the HTTP requests and the responses of the server are
represented by Pydantic models that are described below.

.. automodule:: debusine.client.models

Representation of artifacts
===========================

Artifacts to be uploaded are first created as a
:py:class:`debusine.artifacts.local_artifact.LocalArtifact` object. There
are many descendants of that class available in
:py:mod:`debusine.artifacts`, one for each category of artifact.

.. autoclass:: debusine.artifacts.local_artifact.LocalArtifact

.. automodule:: debusine.artifacts
   :imported-members: