Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
f34d9155
Commit
f34d9155
authored
Aug 29, 2019
by
Christian Bergmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup
parent
334aa949
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
.travis.yml
.travis.yml
+0
-1
asyncua/server/history_sql.py
asyncua/server/history_sql.py
+2
-2
No files found.
.travis.yml
View file @
f34d9155
...
...
@@ -8,7 +8,6 @@ install:
-
pip install lxml
-
pip install aiofiles
-
pip install aiosqlite
-
pip install asyncio-contextmanager
-
pip install pytest --upgrade
-
pip install pytest-asyncio
-
pip install cryptography
...
...
asyncua/server/history_sql.py
View file @
f34d9155
import
logging
import
aiosqlite
import
sqlite3
from
typing
import
Iterable
,
Optional
from
typing
import
Iterable
from
datetime
import
timedelta
from
datetime
import
datetime
from
asyncio
import
get_event_loop
...
...
@@ -247,7 +247,7 @@ class HistorySQLite(HistoryStorageInterface):
for
name
in
names
:
variant
=
ev_variant_dict
[
name
]
placeholders
.
append
(
"?"
)
ev_variant_binaries
.
append
(
aiosqlite
.
Binary
(
variant_to_binary
(
variant
)))
ev_variant_binaries
.
append
(
sqlite3
.
Binary
(
variant_to_binary
(
variant
)))
return
self
.
_list_to_sql_str
(
names
),
self
.
_list_to_sql_str
(
placeholders
,
False
),
tuple
(
ev_variant_binaries
)
def
_get_event_columns
(
self
,
ev_fields
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment