Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
engine
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
Container registry
Model registry
Operate
Environments
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
AURA
engine
Commits
53347f2a
Commit
53347f2a
authored
2 years ago
by
David Trattnig
Browse files
Options
Downloads
Patches
Plain Diff
refact: set method visibility
parent
7af546c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/aura_engine/core/client.py
+4
-0
4 additions, 0 deletions
src/aura_engine/core/client.py
with
4 additions
and
0 deletions
src/aura_engine/core/client.py
+
4
−
0
View file @
53347f2a
...
@@ -29,6 +29,7 @@ from multiprocessing import Lock
...
@@ -29,6 +29,7 @@ from multiprocessing import Lock
from
aura_engine.base.config
import
AuraConfig
from
aura_engine.base.config
import
AuraConfig
from
aura_engine.base.exceptions
import
LQConnectionError
from
aura_engine.base.exceptions
import
LQConnectionError
from
aura_engine.base.lang
import
private
from
aura_engine.base.utils
import
SimpleUtil
as
SU
from
aura_engine.base.utils
import
SimpleUtil
as
SU
...
@@ -143,6 +144,7 @@ class CoreConnection:
...
@@ -143,6 +144,7 @@ class CoreConnection:
self
.
logger
.
error
(
SU
.
red
(
msg
))
self
.
logger
.
error
(
SU
.
red
(
msg
))
raise
LQConnectionError
(
msg
)
raise
LQConnectionError
(
msg
)
@private
def
read_all
(
self
,
timeout
:
int
=
2
)
->
str
:
def
read_all
(
self
,
timeout
:
int
=
2
)
->
str
:
"""
"""
Read data from the socket until `END` signal is received.
Read data from the socket until `END` signal is received.
...
@@ -170,6 +172,7 @@ class CoreConnection:
...
@@ -170,6 +172,7 @@ class CoreConnection:
self
.
mutex
.
release
()
self
.
mutex
.
release
()
return
data
return
data
@private
def
read
(
self
)
->
str
:
def
read
(
self
)
->
str
:
"""
"""
Read from socket and store return value in `self.message` and return it.
Read from socket and store return value in `self.message` and return it.
...
@@ -195,6 +198,7 @@ class CoreConnection:
...
@@ -195,6 +198,7 @@ class CoreConnection:
return
self
.
message
return
self
.
message
return
None
return
None
@private
def
log_debug
(
self
,
namespace
:
str
,
command
:
str
,
msg
:
str
)
->
bool
:
def
log_debug
(
self
,
namespace
:
str
,
command
:
str
,
msg
:
str
)
->
bool
:
"""
"""
Check if the command is excluded from debug logging.
Check if the command is excluded from debug logging.
...
...
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