Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwharris committed May 16, 2024
1 parent a7e5921 commit 7e263ed
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions morpheus/utils/env_config_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ def __init__(self, value: str, use_env: bool = True):
raise ValueError("value must not be none")

self._value = value

def value(self, default: str | None) -> str | None:
if self._value is None:
return default

def __str__(self):
return self._value


# PB, DOCA, Asynchronious Programming, Strong C++ Programmer

0 comments on commit 7e263ed

Please sign in to comment.