code: def test_get_definition_directive_basic(self):
      directive_key = object
  
      def f():
          a = 1
          return a
  
      _, node, ctx = self.transform(f, (), include_ast=True)
  
      symbol_a = node.body[1].value
      (defs,) = anno.getanno(symbol_a, anno.Static.ORIG_DEFINITIONS)
      defs.directives[directive_key] = {
          "test_arg": parser.parse_expression("foo"),
          "other_arg": parser.parse_expression("bar"),
      }
      c = TestConverter(ctx)
      value = c.get_definition_directive(
          symbol_a, directive_key, "test_arg", None
      )
      self.assertEqual(value.id, "foo")
  
file_path: DALI/dali/test/python/autograph/core/test_converter.py
imports: import imp
  from nvidia.dali._autograph.core import converter
  from nvidia.dali._autograph.core import converter_testing
  from nvidia.dali._autograph.pyct import anno
  from nvidia.dali._autograph.pyct import loader
  from nvidia.dali._autograph.pyct import parser
  from nvidia.dali._autograph.pyct import templates
label_desc: Use image node_id 1 for calling the ConverterBaseTest obj's underlying member method code with example usage: obj.test_get_definition_directive_basic() and returns: a