code: def expand_rio_pattern(rio_pattern):
      def format_shards(m):
          return "{}-?????-of-{:0>5}{}".format(*m.groups())
  
      rio_pattern = re.sub(
          r"^([^@]+)@(\d+)([^@]+)$", format_shards, rio_pattern
      )
      return rio_pattern
  
imports: import re
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: expand_rio_pattern(rio_pattern) and returns: rio_pattern, str