@@ -877,11 +877,11 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
877
877
'''
878
878
This method is used to submit any SAS code. It returns the Log and Listing as a python dictionary.
879
879
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).
885
885
886
886
for example (what you type for pw will not be displayed, user and dsname will):
887
887
@@ -895,9 +895,10 @@ def submit(self, code: str, results: str = '', prompt: dict = None, printto=Fals
895
895
prompt = {'user': False, 'pw': True, 'dsname': False}
896
896
)
897
897
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
901
902
902
903
**HTTP**
903
904
0 commit comments