Dependency#

class neophile.models.dependencies.Dependency(path)#

Bases: object

Base class for a dependency returned by a scanner.

Parameters:

path (Path) –

Methods Summary

to_dict()

Convert the object to a dict.

Methods Documentation

to_dict()#

Convert the object to a dict.

Return type:

dict[str, str]

Notes

Required because ruamel.yaml cannot serialize ~pathlib.Path.