diff options
| author | Josh Watson <josh@joshwatson.com> | 2018-12-22 10:41:22 -0800 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2018-12-22 13:41:22 -0500 |
| commit | 50f496a87861d5d5688bb9aeecb0b4ab5653dc01 (patch) | |
| tree | bd0989037e5b7b7f3d0528d71e6c512210c83b14 /python/transform.py | |
| parent | 7e0a1b9aeaed79b9d34bf6e6396c085ce60d9a32 (diff) | |
Added TransformParameter.repr (#1223)
Diffstat (limited to 'python/transform.py')
| -rw-r--r-- | python/transform.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/transform.py b/python/transform.py index 1734d248..ac488d03 100644 --- a/python/transform.py +++ b/python/transform.py @@ -93,6 +93,11 @@ class TransformParameter(object): self.long_name = long_name self.fixed_length = fixed_length + def __repr__(self): + return "<TransformParameter: {} fixed length: {}>".format( + self.long_name, self.fixed_length + ) + class Transform(with_metaclass(_TransformMetaClass, object)): transform_type = None |
