Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Base Worker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
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
Workers
Base Worker
Merge requests
!70
Remove name support in the cache
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Remove name support in the cache
drop-name
into
master
Overview
0
Commits
2
Pipelines
1
Changes
6
Merged
Erwan Rouchet
requested to merge
drop-name
into
master
4 years ago
Overview
0
Commits
2
Pipelines
1
Changes
6
Expand
Closes
#46 (closed)
Edited
4 years ago
by
Erwan Rouchet
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
81d36830
2 commits,
4 years ago
6 files
+
3
−
8
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
6
Search (e.g. *.vue) (Ctrl+P)
arkindex_worker/cache.py
+
1
−
2
Options
@@ -7,7 +7,6 @@ from arkindex_worker import logger
SQL_ELEMENTS_TABLE_CREATION
=
"""
CREATE TABLE IF NOT EXISTS elements (
id VARCHAR(32) PRIMARY KEY,
parent_id VARCHAR(32),
name TEXT NOT NULL,
type TEXT NOT NULL,
polygon TEXT,
initial BOOLEAN DEFAULT 0 NOT NULL,
@@ -17,7 +16,7 @@ SQL_ELEMENTS_TABLE_CREATION = """CREATE TABLE IF NOT EXISTS elements (
CachedElement
=
namedtuple
(
"
CachedElement
"
,
[
"
id
"
,
"
name
"
,
"
type
"
,
"
polygon
"
,
"
worker_version_id
"
,
"
parent_id
"
,
"
initial
"
],
[
"
id
"
,
"
type
"
,
"
polygon
"
,
"
worker_version_id
"
,
"
parent_id
"
,
"
initial
"
],
defaults
=
[
None
,
0
],
)
Loading