1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-20 20:09:11 +00:00

framework/workload: fix class attribute docs

Change from free-floating strings into comments and move above the
corresponding attribute.
This commit is contained in:
Sergei Trofimov 2017-11-21 15:10:42 +00:00 committed by marcbonnici
parent be18157223
commit 652f107d10

View File

@ -48,35 +48,26 @@ class Workload(TargetedPlugin):
""")
]
# Set this to True to mark that this workload poses a risk of exposing
# information to the outside world about the device it runs on. An example of
# this would be a benchmark application that sends scores and device data to a
# database owned by the maintainer.
# The user can then set allow_phone_home=False in their configuration to
# prevent this workload from being run accidentally.
phones_home = False
"""
Set this to True to mark that this workload poses a risk of exposing
information to the outside world about the device it runs on. An example of
this would be a benchmark application that sends scores and device data to a
database owned by the maintainer.
The user can then set allow_phone_home=False in their configuration to
prevent this workload from being run accidentally.
"""
# Set this to ``True`` to mark the the workload will fail without a network
# connection, this enables it to fail early with a clear message.
requires_network = False
"""
Set this to ``True`` to mark the the workload will fail without a network
connection, this enables it to fail early with a clear message.
"""
# Set this to specify a custom directory for assets to be pushed to, if unset
# the working directory will be used.
asset_directory = None
"""
Set this to specify a custom directory for assets to be pushed to, if unset
the working directory will be used.
"""
# Used to store information about workload assets.
deployable_assets = []
asset_files = []
deployed_assets = []
"""
Used to store information about workload assets.
"""
def init_resources(self, context):
"""