Skip to content

Commit

Permalink
Define __slots__ on PGNode
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Mar 9, 2023
1 parent d30bacb commit c590db2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openeo/internal/graph_building.py
Expand Up @@ -46,6 +46,8 @@ class PGNode(_FromNodeMixin):
"""

__slots__ = ["_process_id", "_arguments", "_namespace"]

def __init__(self, process_id: str, arguments: dict = None, namespace: Union[str, None] = None, **kwargs):
self._process_id = process_id
# Merge arguments dict and kwargs
Expand Down

0 comments on commit c590db2

Please sign in to comment.