File: _suppression.py

package info (click to toggle)
python-sarif-python-om 1.0.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 424 kB
  • sloc: python: 634; makefile: 3
file content (15 lines) | stat: -rw-r--r-- 649 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# This file was generated by jschema_to_python version 1.2.3.

import attr


@attr.s
class Suppression(object):
    """A suppression that is relevant to a result."""

    kind = attr.ib(metadata={"schema_property_name": "kind"})
    guid = attr.ib(default=None, metadata={"schema_property_name": "guid"})
    justification = attr.ib(default=None, metadata={"schema_property_name": "justification"})
    location = attr.ib(default=None, metadata={"schema_property_name": "location"})
    properties = attr.ib(default=None, metadata={"schema_property_name": "properties"})
    state = attr.ib(default=None, metadata={"schema_property_name": "state"})