File: models.py

package info (click to toggle)
python-papermill 2.6.0-3.1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 2,216 kB
  • sloc: python: 4,977; makefile: 17; sh: 5
file content (12 lines) | stat: -rw-r--r-- 264 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
"""Models used by papermill."""
from collections import namedtuple

Parameter = namedtuple(
    'Parameter',
    [
        'name',
        'inferred_type_name',  # string of type
        'default',  # string representing the default value
        'help',
    ],
)