Giter VIP home page Giter VIP logo

hug_yaml's People

Contributors

ghostofgoes avatar timothycrosley avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

prashnts akaihola

hug_yaml's Issues

Sample code on Pypi doesn't match github.

Sample code on Pypi:

import hug
import hug_yaml

hug.API(name).extend(hug_yaml.input_format)

@hug.not_found(output=hug_yaml.output)
def documentation(hug_api, hug_api_version):
return hug_yaml.not_found.documentation(hug_api, hug_api_version)


Sample code here on GitHub:

import hug
import hug_yaml

hug.API(name).extend(hug_yaml.input_format)

@hug.not_found(output=hug_yaml.output)
def documentation(hug_api, hug_api_version):
return hug_api.http.documentation(hug_api, hug_api_version)

README.md references nonexistent attribute: 'hug_yaml.not_found'

README.md says

return hug_yaml.not_found.documentation(hug_api, hug_api_version)

but module 'hug_yaml' has no attribute 'not_found'

--

> pip freeze | grep hug
hug==2.2.0
hug-yaml==1.1.0

> python
Python 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 07:18:10) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import hug_yaml
>>> hug_yaml.not_found
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'hug_yaml' has no attribute 'not_found'

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.