GithubHelp home page GithubHelp logo

Function calls about arcaflow-expressions HOT 3 CLOSED

arcalot avatar arcalot commented on August 11, 2024 1
Function calls

from arcaflow-expressions.

Comments (3)

janosdebugs avatar janosdebugs commented on August 11, 2024 1

@jaredoconnell another thought: the ArcaflowFunctionSchema declares its input schema. However, I think it would be better to change this to an interface, which looks like this:

type ArcaflowFunctionSchema interface {
    // InputSchemaHint gives one or more valid input types the function can accept. This is for documentation purposes only, but when run against CanAcceptInput or OutputSchema, must result in a valid result.
    InputSchemaHints() []schema.Type
    // CanAcceptInput lets a function determine if it can accept a certain input.
    CanAcceptInput(schema.Type) bool
    // OutputSchema produces an output schema given an input schema.
    OutputSchema(schema.Type) (schema.Type, error)
}

Accordingly, we may change the ArcaflowFunction to not have generic types and accept an any as input and produce an any as output. This will make functions more flexible.

from arcaflow-expressions.

dustinblack avatar dustinblack commented on August 11, 2024

@jaredoconnell Isn't this closed with #16 ?

from arcaflow-expressions.

jaredoconnell avatar jaredoconnell commented on August 11, 2024

Yes. This is out of sync with JIRA.

from arcaflow-expressions.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.