Hello there! Is there a way to refer to a relative file path from within a spout or bolt? I usually use something like os.path.dirname(os.path.realpath(__file__)) to do so, however, it looks like the the spout/bolt scripts get copied to a temporary location before being executed in the streamparse architecture, so the relative path that is pulled in is that tmp location, rather than where the spout itself is saved. I'm using version 2.1.4 if this makes a difference. Thanks!
Hello there! Is there a way to refer to a relative file path from within a spout or bolt? I usually use something like
os.path.dirname(os.path.realpath(__file__))
to do so, however, it looks like the the spout/bolt scripts get copied to a temporary location before being executed in the streamparse architecture, so the relative path that is pulled in is that tmp location, rather than where the spout itself is saved. I'm using version 2.1.4 if this makes a difference. Thanks!