Spec
ProjectParams
Bases: SpecParams
Parameters model for project.
Source code in digitalhub_core/entities/project/spec.py
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 |
|
artifacts: list = None
List of project's artifacts.
context: str = None
The project's context.
functions: list = None
List of project's functions.
workflows: list = None
List of project's workflows.
ProjectSpec
Bases: Spec
Project specification.
Source code in digitalhub_core/entities/project/spec.py
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|
__init__(context=None, functions=None, artifacts=None, workflows=None, **kwargs)
Initializes a new instance of the ProjectSpec class.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
context |
str
|
The project's context folder. |
None
|
functions |
list
|
List of project's functions. |
None
|
artifacts |
list
|
List of project's artifacts. |
None
|
workflows |
list
|
List of project's workflows. |
None
|
Source code in digitalhub_core/entities/project/spec.py
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
|