@classmethod<EOL><INDENT>def get_from_string(cls, string_condition):<DEDENT>
if string_condition == '<STR_LIT>':<EOL><INDENT>return cls.SCHEDULED<EOL><DEDENT>elif string_condition == '<STR_LIT>':<EOL><INDENT>return cls.READY<EOL><DEDENT>elif string_condition == '<STR_LIT>':<EOL><INDENT>return cls.INITIALIZED<EOL><DEDENT>elif string_condition == '<STR_LIT>':<EOL><INDENT>return cls.UNSCHEDULABLE<EOL><DEDENT>elif string_condition == '<STR_LIT>':<EOL><INDENT>return cls.CONTAINERS_READY<EOL><DEDENT>return cls.UNKNOWN<EOL>
Convert string value obtained from k8s API to PodCondition enum value
:param string_condition: str, condition value from Kubernetes API
:return: PodCondition