Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
BerndSchuller committed Feb 23, 2024
1 parent 8243110 commit fd88a3c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pyunicore/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def __init__(self, security, resource_url, cache_time=_DEFAULT_CACHE_TIME):
security: this can be either a Credential or a Transport
resource_url: the endpoint to connect to
cache_time: the minimum time in seconds between calls to the endpoint
when getting properties
when getting properties
"""
super().__init__()
if isinstance(security, pyunicore.credentials.Credential):
Expand Down
8 changes: 5 additions & 3 deletions pyunicore/helpers/jobs/description.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ class Description(_api_object.ApiRequestObject):
Whether to run the job via the batch system ('batch', default) or
on a login node ('interactive'), or as a batch job but with a
user-specified file containing the batch system directives ('raw').
The 'allocate' job type will only create an allocation,
The 'allocate' job type will only create an allocation,
without running anything.
login_node (str, optional): For jobs of the 'on_login_node' type, select
a login node (by name, as configured server side.
a login node (by name, as configured server side.
Wildcards '*' and '?' can be used).
bss_file (str, optional): For 'raw' jobs, specify the relative or
absolute file name of a file containing batch system directives.
Expand All @@ -67,7 +67,9 @@ class Description(_api_object.ApiRequestObject):

executable: Optional[str] = None
project: Optional[str] = None
resources: Optional[_resources.Resources] = dataclasses.field(default_factory=_resources.Resources)
resources: Optional[_resources.Resources] = dataclasses.field(
default_factory=_resources.Resources
)
application_name: Optional[str] = None
application_version: Optional[str] = None
arguments: Optional[List[str]] = None
Expand Down

0 comments on commit fd88a3c

Please sign in to comment.