We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 33a8026 + 692604c commit a6157e9Copy full SHA for a6157e9
src/sasctl/pzmm/write_score_code.py
@@ -451,18 +451,22 @@ def _write_imports(
451
452
try:
453
if current_session().version_info() != 3.5:
454
- self.score_code += "import settings\n\n"
+ cls.score_code += "import settings\n\n"
455
+
456
"""
457
import settings
458
459
460
461
462
except AttributeError:
463
warn(
464
"No current session connection was found to a SAS Viya server. Score "
465
"code will be written under the assumption that the target server is "
466
"SAS Viya 4."
467
)
468
469
470
471
if mojo_model or binary_h2o_model:
472
self.score_code += "import h2o\n\nh2o.init()\n\n"
0 commit comments