Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
textgrid-python-clients
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
DARIAH-DE
TextGridRep
textgrid-python-clients
Commits
c417804b
Verified
Commit
c417804b
authored
8 months ago
by
Ubbo Veentjer
Browse files
Options
Downloads
Patches
Plain Diff
feat: tgpublish copy has destUri now, add to tgclients databinding
parent
bbcd0c21
No related branches found
No related tags found
1 merge request
!46
Resolve "Add tgpublish API client"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/tgclients/databinding/tgpublish/tgpub.py
+11
-2
11 additions, 2 deletions
src/tgclients/databinding/tgpublish/tgpub.py
src/tgpub.xsd
+1
-0
1 addition, 0 deletions
src/tgpub.xsd
with
12 additions
and
2 deletions
src/tgclients/databinding/tgpublish/tgpub.py
+
11
−
2
View file @
c417804b
...
...
@@ -103,9 +103,10 @@ class PublishError:
"
namespace
"
:
""
,
}
)
type
:
Optional
[
ErrorType
]
=
field
(
type
_value
:
Optional
[
ErrorType
]
=
field
(
default
=
None
,
metadata
=
{
"
name
"
:
"
type
"
,
"
type
"
:
"
Element
"
,
"
namespace
"
:
""
,
}
...
...
@@ -124,9 +125,10 @@ class PublishWarning:
"
namespace
"
:
""
,
}
)
type
:
Optional
[
WarningType
]
=
field
(
type
_value
:
Optional
[
WarningType
]
=
field
(
default
=
None
,
metadata
=
{
"
name
"
:
"
type
"
,
"
type
"
:
"
Element
"
,
"
namespace
"
:
""
,
}
...
...
@@ -166,6 +168,13 @@ class PublishObject:
"
type
"
:
"
Attribute
"
,
}
)
dest_uri
:
Optional
[
str
]
=
field
(
default
=
None
,
metadata
=
{
"
name
"
:
"
destUri
"
,
"
type
"
:
"
Attribute
"
,
}
)
pid
:
Optional
[
str
]
=
field
(
default
=
None
,
metadata
=
{
...
...
This diff is collapsed.
Click to expand it.
src/tgpub.xsd
+
1
−
0
View file @
c417804b
...
...
@@ -21,6 +21,7 @@
<xs:element
maxOccurs=
"unbounded"
minOccurs=
"0"
name=
"warning"
type=
"publishWarning"
/>
</xs:sequence>
<xs:attribute
name=
"uri"
type=
"xs:string"
/>
<xs:attribute
name=
"destUri"
type=
"xs:string"
/>
<xs:attribute
name=
"pid"
type=
"xs:string"
/>
<xs:attribute
name=
"status"
type=
"statusType"
/>
</xs:complexType>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment