Skip to content

Commit af70e9b

Browse files
author
irinaschubert
authored
fix: update dsp-tools to work with API version 16.0.0 (#117)
* 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
1 parent d71093d commit af70e9b

13 files changed

Lines changed: 662 additions & 663 deletions

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,12 @@ The documentation is a collection of [markdown](https://en.wikipedia.org/wiki/Ma
120120
After updates of the files, build and check the result with the following commands:
121121

122122
```bash
123-
make build-docs
124-
make serve-docs
123+
make docs-build
124+
make docs-serve
125125
```
126126

127127
To update the changes to the official documentation pages run:
128128

129129
```bash
130-
make publish-docs
130+
make docs-publish
131131
```

‎docs/dsp-tools-information-for-developers.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,12 @@ The documentation is a collection of [markdown](https://en.wikipedia.org/wiki/Ma
114114
After updates of the files, build and check the result with the following commands:
115115

116116
```bash
117-
make build-docs
118-
make serve-docs
117+
make docs-build
118+
make docs-serve
119119
```
120120

121121
To update the changes to the official documentation pages run:
122122

123123
```bash
124-
make publish-docs
124+
make docs-publish
125125
```

‎knora/dsplib/models/BUILD.bazel‎

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ py_library(
5454
visibility = ["//visibility:public"],
5555
srcs = ["listnode.py"],
5656
deps = [
57+
"//knora/dsplib/utils:set_encoder",
5758
":connection",
5859
":helpers",
5960
":langstring",
6061
":project",
6162
],
62-
imports = ["."],
63+
imports = [".", ".."],
6364
)
6465

6566
py_library(
@@ -101,6 +102,7 @@ py_library(
101102
visibility = ["//visibility:public"],
102103
srcs = ["project.py"],
103104
deps = [
105+
"//knora/dsplib/utils:set_encoder",
104106
":helpers",
105107
":langstring",
106108
":connection",
@@ -114,12 +116,13 @@ py_library(
114116
visibility = ["//visibility:public"],
115117
srcs = ["propertyclass.py"],
116118
deps = [
119+
"//knora/dsplib/utils:set_encoder",
117120
":connection",
118121
":helpers",
119122
":langstring",
120123
":listnode"
121124
],
122-
imports = ["."],
125+
imports = [".", ".."],
123126
)
124127

125128
py_library(
@@ -146,11 +149,12 @@ py_library(
146149
visibility = ["//visibility:public"],
147150
srcs = ["resourceclass.py"],
148151
deps = [
152+
"//knora/dsplib/utils:set_encoder",
149153
":connection",
150154
":helpers",
151155
":langstring",
152156
],
153-
imports = ["."],
157+
imports = [".", ".."],
154158
)
155159

156160
py_library(

0 commit comments

Comments
 (0)