Aside from `configured()` tricks, there's no way t...
# announcements
n
Aside from
configured()
tricks, there's no way to have a solid that will accept both pipeline values and literals, right?
n
I quite often use the solid factory pattern:
Copy code
def create_foo_solid(x):
    @solid
    def foo()
        # .... use x here
    return foo
n
Or that 🙂
But I think (eventually) the @pipeline DSL could directly support at least most literals
Would help keep things looking a bit more like normal Python code
Just a whole bunch of isinstance() checks in the DSL evaluator and some strategic deepcopy 😄
s
I do think there’s room for improvement in passing literals to pipelines
âž• 1