Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/github_actions_aws_rhel_python64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
- nidmm
- nifgen
- nimodinst
- nirfsg
- niscope
- niswitch
- nitclk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
- nifgen
- nidcpower
- nidmm
- nirfsg
- niscope
- nimodinst
- nise
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- nifgen
- nidcpower
- nidmm
- nirfsg
- niscope
- nimodinst
- nise
Expand Down
7 changes: 7 additions & 0 deletions build/templates/session.py/datetime_wrappers.py.mako
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,18 @@
output_params_list.append(p['python_name'])

output_params = ', '.join(output_params_list)
include_second = False
if "second" in output_params_list:
include_second = True
%>\
def ${f['python_name']}(${helper.get_params_snippet(f, helper.ParameterUsageOptions.SESSION_METHOD_DECLARATION)}):
'''${f['python_name']}

${helper.get_function_docstring(f, False, config, indent=8)}
'''
${output_params} = self.${called_function['python_name']}(${helper.get_params_snippet(f, helper.ParameterUsageOptions.SESSION_METHOD_CALL)})
%if include_second is False:
return hightime.datetime(year, month, day, hour, minute)
%else:
return hightime.datetime(year, month, day, hour, minute, second)
%endif
Loading