Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advance warning of rename added to README #23

Merged
merged 3 commits into from
Apr 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.idea
project/
./docs/
docs/
tmp/
site/
__pycache__

tests/output/
dist/*
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# linkml-transformer

THIS PACKAGE HAS BEEN RENAMED

It is now called linkml-map: https://pypi.org/project/linkml-map/

[![Pyversions](https://img.shields.io/pypi/pyversions/linkml-transformer.svg)](https://pypi.python.org/pypi/linkml-transformer)
![](https://github.com/linkml/linkml-transformer/workflows/Build/badge.svg)
[![PyPi](https://img.shields.io/pypi/v/linkml-transformer.svg)](https://pypi.python.org/pypi/linkml-transformer)
Expand Down
8 changes: 8 additions & 0 deletions src/linkml_transformer/datamodel/sssom.map.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
class_derivations:
Mapping:
any_of:
- populated_from: ClassDerivation
slot_derivations:
..
- populated_from: SlotDerivation

4 changes: 4 additions & 0 deletions tests/test_compiler/test_duckdb_compiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,17 @@ def test_compile(session):
assert session.transformer_specification is not None
compiled = compiler.compile(session.transformer_specification)
# TODO: include imports so that code compiles
print("Compiled SQL:")
print(compiled.serialization)
source_sv = SchemaView(SCHEMA1)
source_ddl = compiler.create_ddl(source_sv)
print("Source DDL:")
print(source_ddl)
target_sv = session.target_schemaview
print("Target Schema:")
print(yaml_dumper.dumps(target_sv.schema))
target_ddl = compiler.create_ddl(target_sv)
print("Target DDL:")
print(target_ddl)

import duckdb
Expand Down
Loading