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
bdfcfdce
Commit
bdfcfdce
authored
Jan 28, 2021
by
Pierre Dittgen
Browse files
Merge branch '83_filter_schemas' into 'frictionless_scratch'
Filtrer les schémas sur la page d'accueil See merge request
!9
parents
6509c33d
d6d56ac7
Changes
2
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
bdfcfdce
...
...
@@ -2,6 +2,7 @@
## next
-
display only tableschema (using new
`schema_type`
property)
-
move most of dependency from requirements.in to setup.py
## 0.4.0a21
...
...
validata_ui/views.py
View file @
bdfcfdce
...
...
@@ -536,6 +536,9 @@ def home():
# Working on catalog
schema_info_list
=
[]
for
schema_reference
in
schema_catalog
.
references
:
# retain tableschema only
if
schema_reference
.
get_schema_type
()
!=
"tableschema"
:
continue
# Loads default table schema for each schema reference
schema_info
=
{
"name"
:
schema_reference
.
name
}
try
:
...
...
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