Skip to content

Commit 2e11448

Browse files
authored
Merge pull request #23 from linkml/sssom-datamodel
Advance warning of rename added to README
2 parents dca86d3 + 9d51aaa commit 2e11448

File tree

4 files changed

+18
-2
lines changed

4 files changed

+18
-2
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.idea
22
project/
3-
./docs/
3+
docs/
44
tmp/
55
site/
66
__pycache__
7-
7+
tests/output/
88
dist/*

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# linkml-transformer
22

3+
THIS PACKAGE HAS BEEN RENAMED
4+
5+
It is now called linkml-map: https://pypi.org/project/linkml-map/
6+
37
[![Pyversions](https://img.shields.io/pypi/pyversions/linkml-transformer.svg)](https://pypi.python.org/pypi/linkml-transformer)
48
![](https://github.com/linkml/linkml-transformer/workflows/Build/badge.svg)
59
[![PyPi](https://img.shields.io/pypi/v/linkml-transformer.svg)](https://pypi.python.org/pypi/linkml-transformer)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class_derivations:
2+
Mapping:
3+
any_of:
4+
- populated_from: ClassDerivation
5+
slot_derivations:
6+
..
7+
- populated_from: SlotDerivation
8+

tests/test_compiler/test_duckdb_compiler.py

+4
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,17 @@ def test_compile(session):
2424
assert session.transformer_specification is not None
2525
compiled = compiler.compile(session.transformer_specification)
2626
# TODO: include imports so that code compiles
27+
print("Compiled SQL:")
2728
print(compiled.serialization)
2829
source_sv = SchemaView(SCHEMA1)
2930
source_ddl = compiler.create_ddl(source_sv)
31+
print("Source DDL:")
3032
print(source_ddl)
3133
target_sv = session.target_schemaview
34+
print("Target Schema:")
3235
print(yaml_dumper.dumps(target_sv.schema))
3336
target_ddl = compiler.create_ddl(target_sv)
37+
print("Target DDL:")
3438
print(target_ddl)
3539

3640
import duckdb

0 commit comments

Comments
 (0)