Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Python3 ArmarX
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
Python3 ArmarX
Commits
7cebf099
Commit
7cebf099
authored
2 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Make ConversionOptions available to subclasses via cls.ConversionOptions.
parent
98a3a47c
No related branches found
No related tags found
1 merge request
!30
Changes for Name phrase grounding
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
armarx_memory/aron/aron_dataclass.py
+5
-0
5 additions, 0 deletions
armarx_memory/aron/aron_dataclass.py
with
5 additions
and
0 deletions
armarx_memory/aron/aron_dataclass.py
+
5
−
0
View file @
7cebf099
import
dataclasses
as
dc
import
typing
as
ty
from
armarx_memory.aron.conversion.options
import
ConversionOptions
@dc.dataclass
class
AronDataclass
:
# Make ConversionOptions available to subclasses via cls.ConversionOptions.
ConversionOptions
=
ConversionOptions
def
to_dict
(
self
)
->
ty
.
Dict
[
str
,
ty
.
Any
]:
from
armarx_memory.aron.conversion.dataclass_from_to_pythonic
import
(
dataclass_to_dict
,
...
...
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