Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Macao Legacy
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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MACAO
Macao Legacy
Merge requests
!1
Main
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Closed
Main
main
into
26-html2markdown
Overview
0
Commits
39
Pipelines
0
Changes
2
Closed
Main
David Rouquet
requested to merge
main
into
26-html2markdown
9 months ago
Overview
0
Commits
39
Pipelines
0
Changes
2
0
0
Merge request reports
Viewing commit
d19eeb19
Prev
Next
Show latest version
2 files
+
5
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
d19eeb19
Fix Pyright ignore rule on export_corese.py
· d19eeb19
Eliott Sammier
authored
Jul 31, 2024
tetras_extraction/script/src/export_corese.py
+
1
−
2
View file @ d19eeb19
Edit in single-file editor
Open in Web IDE
Show full file
# type: ignore
# This module isolates calls to Corese via the py4j interface,
# because py4j has no stubs and pretty much breaks type checkers.
# This is also declared in pyrightconfig.json
import
atexit
import
subprocess
@@ -36,8 +37,6 @@ def apply_templates() -> str:
Graph
=
gateway
.
jvm
.
fr
.
inria
.
corese
.
core
.
Graph
Load
=
gateway
.
jvm
.
fr
.
inria
.
corese
.
core
.
load
.
Load
Property
=
gateway
.
jvm
.
fr
.
inria
.
corese
.
core
.
util
.
Property
QueryProcess
=
gateway
.
jvm
.
fr
.
inria
.
corese
.
core
.
query
.
QueryProcess
RDF
=
gateway
.
jvm
.
fr
.
inria
.
corese
.
core
.
logic
.
RDF
Transformer
=
gateway
.
jvm
.
fr
.
inria
.
corese
.
core
.
transform
.
Transformer
# ==> Create graph, load ontology
Loading