mirror of
https://github.com/theupdateframework/python-tuf
synced 2026-05-24 10:08:28 +00:00
Make make TargetFile.custom() visible in the docs
By adding a docstring to the property RTD noticed custom and documented it. Signed-off-by: Martin Vrachev <mvrachev@vmware.com>
This commit is contained in:
parent
79df859078
commit
0c9764925d
1 changed files with 2 additions and 0 deletions
|
|
@ -1287,6 +1287,8 @@ def __init__(
|
|||
|
||||
@property
|
||||
def custom(self) -> Any:
|
||||
"""Can be used to provide implementation specific data related to the
|
||||
target. python-tuf does not use or validate this data."""
|
||||
return self.unrecognized_fields.get("custom")
|
||||
|
||||
@classmethod
|
||||
|
|
|
|||
Loading…
Reference in a new issue