Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Validata
Validata UI
Commits
2e5d5616
Commit
2e5d5616
authored
Sep 03, 2019
by
Pierre Dittgen
Browse files
Fix code formatting
parent
ee125843
Changes
1
Hide whitespace changes
Inline
Side-by-side
validata_ui/views.py
View file @
2e5d5616
...
...
@@ -133,10 +133,10 @@ class SchemaInstance:
def
extract_source_data
(
source
:
ValidataResource
,
schema_descriptor
,
preview_rows_nb
=
5
):
"""
Computes table preview
"""
"""Computes table preview"""
def
stringify
(
val
):
"""
Transform value into string
"""
"""Transform value into string"""
return
''
if
val
is
None
else
str
(
val
)
header
=
None
...
...
Write
Preview
Supports
Markdown
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