Commit d6d56ac7 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Filtrer les schémas sur la page d'accueil

parent 6509c33d
......@@ -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
......
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment