Skip to content

Commit d7230a9

Browse files
committed
s/schema/id for schema support
1 parent 3094967 commit d7230a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pygeometa/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ def schemas(ctx, verbosity):
560560
click.echo('Supported schemas')
561561

562562
for schema in get_supported_schemas(details=True):
563-
s = f"{schema['schema']} (read: {schema['read']}, write: {schema['write']}): {schema['description']}" # noqa
563+
s = f"{schema['id']} (read: {schema['read']}, write: {schema['write']}): {schema['description']}" # noqa
564564
click.echo(s)
565565

566566

pygeometa/schemas/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def has_mode(plugin: BaseOutputSchema, mode: str) -> bool:
9999
can_write = has_mode(schema, 'write')
100100

101101
schema_matrix.append({
102-
'schema': key,
102+
'id': key,
103103
'description': schema.description,
104104
'read': can_read,
105105
'write': can_write

0 commit comments

Comments
 (0)