Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
CaosDB Crawler
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
CaosDB Crawler
Commits
f1163033
Commit
f1163033
authored
8 months ago
by
Florian Spreckelsen
Browse files
Options
Downloads
Patches
Plain Diff
STY: autopep8'd
parent
514245b1
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!181
Release 0.9.0
,
!180
F converter submodule
Pipeline
#54930
passed
8 months ago
Stage: info
Stage: setup
Stage: cert
Stage: style
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caoscrawler/converters/xml_converter.py
+6
-17
6 additions, 17 deletions
src/caoscrawler/converters/xml_converter.py
with
6 additions
and
17 deletions
src/caoscrawler/converters/xml_converter.py
+
6
−
17
View file @
f1163033
...
...
@@ -22,28 +22,17 @@
from
__future__
import
annotations
import
datetime
import
json
import
logging
import
os
import
lxml.etree
import
re
import
warnings
from
inspect
import
signature
from
string
import
Template
from
typing
import
Any
,
Callable
,
Optional
,
Union
import
linkahead
as
db
from
jsonschema
import
ValidationError
,
validate
from
typing
import
Optional
from
..stores
import
GeneralStore
,
RecordStore
from
..structure_elements
import
(
BooleanElement
,
DictElement
,
Directory
,
File
,
FloatElement
,
IntegerElement
,
JSONFile
,
ListElement
,
NoneElement
,
StructureElement
,
TextElement
,
XMLTagElement
,
XMLTextNode
,
XMLAttributeNode
)
from
..utils
import
has_parent
import
linkahead
as
db
import
lxml.etree
from
.converters
import
SimpleFileConverter
,
ConverterValidationError
,
Converter
from
..stores
import
GeneralStore
,
RecordStore
from
..structure_elements
import
(
File
,
StructureElement
,
XMLTagElement
,
XMLTextNode
,
XMLAttributeNode
)
class
XMLFileConverter
(
SimpleFileConverter
):
...
...
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