I've been looking through the examples and source ...
# announcements
k
I've been looking through the examples and source code, but I can't figure out how to specify a file as input. The error I'm getting says, “input input_file must get a value either (a) from a dependency or (b) from the inputs section of its configuration.” How do I do the latter (b)?
Copy code
@solid()
def io_solid(context, input_file: FileHandle):
    <http://context.log.info|context.log.info>(f'Read from {input_file.path_desc}.')


@pipeline
def test_io_solid():
    io_solid()
a
providing input configuration for solids looks something like this
Copy code
solids:
  io_solid:
    input_file:
      value: 'path'
in your env yaml. The
value: 'path'
bit will change depending on the
input_hydration_config
of the type