Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
4efa0f58
Commit
4efa0f58
authored
May 27, 2017
by
Theo Steininger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added missing __repr__ to FieldArray
parent
d985e8ee
Pipeline
#13044
passed with stages
in 11 minutes and 52 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
nifty/field_types/field_array.py
nifty/field_types/field_array.py
+3
-0
No files found.
nifty/field_types/field_array.py
View file @
4efa0f58
...
...
@@ -28,6 +28,9 @@ class FieldArray(FieldType):
except
TypeError
:
self
.
_shape
=
(
int
(
shape
),
)
def
__repr__
(
self
):
return
"FieldArray(shape=%r)"
%
(
self
.
shape
,
)
@
property
def
shape
(
self
):
return
self
.
_shape
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment