def _get_task_target():
<EOL>import pipeline<EOL>if pipeline._TEST_MODE:<EOL><INDENT>return None<EOL><DEDENT>if ("<STR_LIT>" not in os.environ or<EOL>"<STR_LIT>" not in os.environ):<EOL><INDENT>logging.warning("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>return None<EOL><DEDENT>version = os.environ["<STR_LIT>"].split("<STR_LIT:.>")[<NUM_LIT:0>]<EOL>module = os.environ["<STR_LIT>"]<EOL>return "<STR_LIT>" % (version, module)<EOL>
Get the default target for a pipeline task.

    Current version id format is: user_defined_version.minor_version_number
    Current module id is just the module's name. It could be "default"

    Returns:
      A complete target name is of format version.module. If module is the
    default module, just version. None if target can not be determined.