Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Python
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
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
xAAL
Code
Python
Commits
760d62e4
Commit
760d62e4
authored
5 months ago
by
KERDREUX Jerome
Browse files
Options
Downloads
Patches
Plain Diff
Let's try to fix slot issues
parent
4d64bb2f
Branches
Branches containing commit
No related tags found
1 merge request
!1
First try of type hints
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
libs/lib/xaal/lib/devices.py
+6
-6
6 additions, 6 deletions
libs/lib/xaal/lib/devices.py
with
6 additions
and
6 deletions
libs/lib/xaal/lib/devices.py
+
6
−
6
View file @
760d62e4
...
@@ -112,14 +112,14 @@ class Device(object):
...
@@ -112,14 +112,14 @@ class Device(object):
# xAAL internal attributes for a device
# xAAL internal attributes for a device
self
.
dev_type
=
dev_type
# xaal dev_type
self
.
dev_type
=
dev_type
# xaal dev_type
self
.
address
=
addr
# xaal addr
self
.
address
=
addr
# xaal addr
self
.
group_id
=
None
# group devices
self
.
group_id
:
Optional
[
bindings
.
UUID
]
=
None
# group devices
self
.
vendor_id
=
None
# vendor ID ie : ACME
self
.
vendor_id
:
Optional
[
str
]
=
None
# vendor ID ie : ACME
self
.
product_id
=
None
# product ID
self
.
product_id
:
Optional
[
str
]
=
None
# product ID
self
.
hw_id
=
None
# hardware info
self
.
hw_id
:
Optional
[
str
]
=
None
# hardware info
self
.
version
=
None
# product release
self
.
version
=
None
# product release
self
.
url
=
None
# product URL
self
.
url
=
None
# product URL
self
.
schema
=
None
# schema URL
self
.
schema
:
Optional
[
str
]
=
None
# schema URL
self
.
info
=
None
# additionnal info
self
.
info
:
Optional
[
str
]
=
None
# additionnal info
# Unsupported stuffs
# Unsupported stuffs
self
.
unsupported_attributes
=
[]
self
.
unsupported_attributes
=
[]
...
...
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