code: def update_conda_recipe(version, sha256):
      with open("recipe/meta.yaml") as f:
          lines = [line.rstrip() for line in f]
      updated_lines = replace_line(
          lines,
          "set version = ",
          '{{% set version = "{}" %}}'.format(version),
      )
      updated_lines = replace_line(
          updated_lines,
          "set sha256 = ",
          '{{% set sha256 = "{}" %}}'.format(sha256),
      )
      with open("recipe/meta.yaml", "w") as f:
          f.writelines([line + "\n" for line in updated_lines])
  
imports: import os
  import tempfile
  import itertools
  import shutil
  import re
  from invoke import task, run
  from subprocess import call
  import semver
label_desc: Use image node_id 10 for calling a global function with example usage: update_conda_recipe(version, sha256) without return types