Giter Club home page Giter Club logo

Comments (4)

rhamzeh avatar rhamzeh commented on June 26, 2024 1

Why not put type string?

It's not a string though - it's an enum, you can't say yaml for example.

from cli.

ewanharris avatar ewanharris commented on June 26, 2024

The ModelFormat text is because that's what we return in the Type function, maybe we should just return format as I think in an enum based option a lowercase of the option is more common, wdyt @miparnisari?

The default default I'm not sure what we can do about that as the default for that default. I think maybe we could refactor the code to remove that and potentially use an empty string value in place of default but that might be a bit more involved.

from cli.

miparnisari avatar miparnisari commented on June 26, 2024

The ModelFormat text is because that's what we return in the Type function, maybe we should just return format as I think in an enum based option a lowercase of the option is more common, wdyt @miparnisari?

Why not put type string?

use an empty string value in place of default

Based on the example that i tried, it looks like the default is fga

from cli.

rhamzeh avatar rhamzeh commented on June 26, 2024

Based on the example that i tried, it looks like the default is fga

The default depends - it's either fga if you paste the string directly, or autodetected from the file name if you pass in the file

from cli.

Related Issues (20)

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.