Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve platform.messaging imports #3166

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion volttron/platform/messaging/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@
# ===----------------------------------------------------------------------===
# }}}

from .socket import *
from .headers import Headers
from .socket import Socket
1 change: 1 addition & 0 deletions volttron/platform/messaging/headers.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@

'''VOLTTRON platform™ messaging header name constants.'''

__all__ = ['Headers']

__author__ = 'Brandon Carpenter <brandon.carpenter@pnnl.gov>'
__copyright__ = 'Copyright (c) 2016, Battelle Memorial Institute'
Expand Down
5 changes: 2 additions & 3 deletions volttron/platform/messaging/health.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@
import logging

from volttron.platform import jsonapi
from volttron.platform.agent.utils import (get_aware_utc_now,
format_timestamp,
parse_timestamp_string)
from volttron.platform.agent.utils import get_aware_utc_now, format_timestamp


CURRENT_STATUS = "current_status"
LAST_UPDATED = "utc_last_updated"
Expand Down
2 changes: 1 addition & 1 deletion volttron/platform/messaging/socket.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
from .headers import Headers


__all__ = ['Headers', 'Socket']
__all__ = ['Socket']

__author__ = 'Brandon Carpenter <brandon.carpenter@pnnl.gov>'
__copyright__ = 'Copyright (c) 2016, Battelle Memorial Institute'
Expand Down
Loading