File tree 4 files changed +18
-2
lines changed
src/linkml_transformer/datamodel
4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 1
1
.idea
2
2
project /
3
- . / docs /
3
+ docs /
4
4
tmp /
5
5
site /
6
6
__pycache__
7
-
7
+ tests / output /
8
8
dist /*
Original file line number Diff line number Diff line change 1
1
# linkml-transformer
2
2
3
+ THIS PACKAGE HAS BEEN RENAMED
4
+
5
+ It is now called linkml-map: https://pypi.org/project/linkml-map/
6
+
3
7
[ ![ Pyversions] ( https://img.shields.io/pypi/pyversions/linkml-transformer.svg )] ( https://pypi.python.org/pypi/linkml-transformer )
4
8
![ ] ( https://github.com/linkml/linkml-transformer/workflows/Build/badge.svg )
5
9
[ ![ PyPi] ( https://img.shields.io/pypi/v/linkml-transformer.svg )] ( https://pypi.python.org/pypi/linkml-transformer )
Original file line number Diff line number Diff line change
1
+ class_derivations :
2
+ Mapping :
3
+ any_of :
4
+ - populated_from : ClassDerivation
5
+ slot_derivations :
6
+ ..
7
+ - populated_from : SlotDerivation
8
+
Original file line number Diff line number Diff line change @@ -24,13 +24,17 @@ def test_compile(session):
24
24
assert session .transformer_specification is not None
25
25
compiled = compiler .compile (session .transformer_specification )
26
26
# TODO: include imports so that code compiles
27
+ print ("Compiled SQL:" )
27
28
print (compiled .serialization )
28
29
source_sv = SchemaView (SCHEMA1 )
29
30
source_ddl = compiler .create_ddl (source_sv )
31
+ print ("Source DDL:" )
30
32
print (source_ddl )
31
33
target_sv = session .target_schemaview
34
+ print ("Target Schema:" )
32
35
print (yaml_dumper .dumps (target_sv .schema ))
33
36
target_ddl = compiler .create_ddl (target_sv )
37
+ print ("Target DDL:" )
34
38
print (target_ddl )
35
39
36
40
import duckdb
You can’t perform that action at this time.
0 commit comments