Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-advanced-user-tools
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-advanced-user-tools
Commits
c0b27ba5
Verified
Commit
c0b27ba5
authored
1 year ago
by
Daniel Hornung
Browse files
Options
Downloads
Patches
Plain Diff
MAINT: Removed unnecessary function.
parent
299922bf
No related branches found
No related tags found
2 merge requests
!100
WIP: Filling XLSX: Seems to be working.
,
!93
Filling XLSX: Everything except multiple choice.
Pipeline
#48266
passed
1 year ago
Stage: setup
Stage: cert
Stage: style
Stage: unittest
Stage: integrationtest
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/caosadvancedtools/table_json_conversion/fill_xlsx.py
+0
-8
0 additions, 8 deletions
src/caosadvancedtools/table_json_conversion/fill_xlsx.py
with
0 additions
and
8 deletions
src/caosadvancedtools/table_json_conversion/fill_xlsx.py
+
0
−
8
View file @
c0b27ba5
...
...
@@ -60,14 +60,6 @@ def _get_column_types(sheet: Worksheet) -> OrderedDict:
return
result
def
_get_deep_value
(
data
:
Dict
[
str
,
Any
],
path
:
List
[
str
]):
"""
Return the value at ``path`` inside the dict ``data``.
"""
if
len
(
path
)
>
1
:
return
_get_deep_value
(
data
[
path
[
0
]],
path
[
1
:])
return
data
[
path
[
0
]]
def
_get_foreign_key_columns
(
sheet
:
Worksheet
)
->
Dict
[
str
,
SimpleNamespace
]:
"""
Return the foreign keys of the worksheet.
...
...
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