Skip to content

Commit

Permalink
fix: update dsp-tools to work with API version 16.0.0 (#117)
Browse files Browse the repository at this point in the history
* fix failing tests after api update

* Remove comment instead of using empty comment in lists

* remove outdated fix

* Remove unnecessary code in listnode.py

* Update developer documentation

* refactor SetEncoder

* update docstrings and fix some type issues
  • Loading branch information
irinaschubert committed Nov 18, 2021
1 parent d71093d commit af70e9b
Show file tree
Hide file tree
Showing 13 changed files with 662 additions and 663 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -120,12 +120,12 @@ The documentation is a collection of [markdown](https://en.wikipedia.org/wiki/Ma
After updates of the files, build and check the result with the following commands:

```bash
make build-docs
make serve-docs
make docs-build
make docs-serve
```

To update the changes to the official documentation pages run:

```bash
make publish-docs
make docs-publish
```
6 changes: 3 additions & 3 deletions docs/dsp-tools-information-for-developers.md
Expand Up @@ -114,12 +114,12 @@ The documentation is a collection of [markdown](https://en.wikipedia.org/wiki/Ma
After updates of the files, build and check the result with the following commands:

```bash
make build-docs
make serve-docs
make docs-build
make docs-serve
```

To update the changes to the official documentation pages run:

```bash
make publish-docs
make docs-publish
```
10 changes: 7 additions & 3 deletions knora/dsplib/models/BUILD.bazel
Expand Up @@ -54,12 +54,13 @@ py_library(
visibility = ["//visibility:public"],
srcs = ["listnode.py"],
deps = [
"//knora/dsplib/utils:set_encoder",
":connection",
":helpers",
":langstring",
":project",
],
imports = ["."],
imports = [".", ".."],
)

py_library(
Expand Down Expand Up @@ -101,6 +102,7 @@ py_library(
visibility = ["//visibility:public"],
srcs = ["project.py"],
deps = [
"//knora/dsplib/utils:set_encoder",
":helpers",
":langstring",
":connection",
Expand All @@ -114,12 +116,13 @@ py_library(
visibility = ["//visibility:public"],
srcs = ["propertyclass.py"],
deps = [
"//knora/dsplib/utils:set_encoder",
":connection",
":helpers",
":langstring",
":listnode"
],
imports = ["."],
imports = [".", ".."],
)

py_library(
Expand All @@ -146,11 +149,12 @@ py_library(
visibility = ["//visibility:public"],
srcs = ["resourceclass.py"],
deps = [
"//knora/dsplib/utils:set_encoder",
":connection",
":helpers",
":langstring",
],
imports = ["."],
imports = [".", ".."],
)

py_library(
Expand Down

0 comments on commit af70e9b

Please sign in to comment.