syft.ast.property¶
This module contains Property attribute representing property objects which implements getter and setter objects.
Classes
|
Creates property objects which implements getter and setter objects. |
- class syft.ast.property.Property(path_and_name, parent, object_ref=None, return_type_name=None, client=None)[source]¶
Bases:
syft.ast.attribute.Attribute
Creates property objects which implements getter and setter objects.
Each valid action on AST triggers GetSetPropertyAction.
- __init__(path_and_name, parent, object_ref=None, return_type_name=None, client=None)[source]¶
Base constructor for Property Attribute.
- Parameters
client – The client for which all computation is being executed.
path_and_name – The path for the current node, e.g. syft.lib.python.List.
object_ref – The actual python object for which the computation is being made.
return_type_name – The given action’s return type name, with its full path, in string format.
parent – The parent node in the AST.