Skip to content

Commit 64f3940

Browse files
committed
changelog and version for new release
1 parent 17c4179 commit 64f3940

File tree

3 files changed

+37
-9
lines changed

3 files changed

+37
-9
lines changed

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@
22

33

44

5+
## [5.14.0] - 2024-06-14
6+
7+
### Added
8+
9+
- `None` Nothing added
10+
11+
### Changed
12+
13+
- `Enhancement` Per a user request (see issue #603 for details), in the HTTP and IOM access methods, there is
14+
now a new boolean parameter `loglines` on the submit() method which changes how the LOG is returned. Of course the
15+
default is Fslse to preserve current behavior. The user wanted a list of dictionaries for each line of the log, which
16+
is returned from both the HTTP and IOM API's. The dictionaries have the `line`, which has the LOG contents for that
17+
line, and the `type` which contains identifiers like NOTE, WARRNING, ERROR, TITLE, SOURCE ... See the Issue for
18+
details of what to output is like for each of the access methods, as the API's don't return identical information.
19+
The STDIO (SSH) access method can't return this as there is no API for that.
20+
21+
22+
### Fixed
23+
24+
- `None` Nothing fixed
25+
26+
### Removed
27+
28+
- `None` Nothing removed
29+
30+
31+
532
## [5.13.0] - 2024-05-16
633

734
### Added

saspy/sasbase.py

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -877,11 +877,11 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
877877
'''
878878
This method is used to submit any SAS code. It returns the Log and Listing as a python dictionary.
879879
880-
:param code: the SAS statements you want to execute
881-
:param results: format of results. 'HTML' by default, alternatively 'TEXT'
882-
:param prompt: dict of names and flags to prompt for; create macro variables (used in submitted code), then keep or delete \
883-
the keys which are the names of the macro variables. The boolean flag is to either hide what you type and \
884-
delete the macros, or show what you type and keep the macros (they will still be available later).
880+
:param code: the SAS statements you want to execute
881+
:param results: format of results. 'HTML' by default, alternatively 'TEXT'
882+
:param prompt: dict of names and flags to prompt for; create macro variables (used in submitted code), then keep or delete \
883+
the keys which are the names of the macro variables. The boolean flag is to either hide what you type and \
884+
delete the macros, or show what you type and keep the macros (they will still be available later).
885885
886886
for example (what you type for pw will not be displayed, user and dsname will):
887887
@@ -895,9 +895,10 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
895895
prompt = {'user': False, 'pw': True, 'dsname': False}
896896
)
897897
898-
:param printto: this option, when set to True, will cause saspy to issue a 'proc printto;run;' after the code that is being \
899-
submitted. This will 'undo' any proc printto w/in the submitted code that redirected the LOG or LST, to return \
900-
the LOG/LST back to saspy. This is explained in more detail in the doc: https://sassoftware.github.io/saspy/limitations.html
898+
:param printto: this option, when set to True, will cause saspy to issue a 'proc printto;run;' after the code that is being \
899+
submitted. This will 'undo' any proc printto w/in the submitted code that redirected the LOG or LST, to return \
900+
the LOG/LST back to saspy. This is explained in more detail in the doc: https://sassoftware.github.io/saspy/limitations.html
901+
:param loglines: boolean identifying you want the list of dicts for each line that can be returned from the HTTP and IOM APIs
901902
902903
**HTTP**
903904

saspy/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '5.13.0'
1+
__version__ = '5.14.0'

0 commit comments

Comments
 (0)