vibora icon indicating copy to clipboard operation
vibora copied to clipboard

'Vibora' object has no attribute 'add_component'

Open pcdinh opened this issue 7 years ago • 2 comments

Describe the bug Vibora documentation describes a method named add_component.

https://github.com/vibora-io/vibora/blob/master/docs/components/initial.md

However, it does not exist.

To Reproduce I installed Vibora 0.0.6 via pip3, Python 3.6

Type "help", "copyright", "credits" or "license" for more information.
>>> import vibora
>>> app = vibora.Vibora()
>>> config = {}
>>> app.add_component(config)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Vibora' object has no attribute 'add_component'
  1. See error

AttributeError: 'Vibora' object has no attribute 'add_component'

pcdinh avatar Jul 17 '18 09:07 pcdinh

Try the newest 0.0.7 from master

danieldaeschle avatar Jul 17 '18 09:07 danieldaeschle

@danieldaeschle I believe that the document is incorrect. I made a pull request https://github.com/vibora-io/vibora/pull/158

pcdinh avatar Jul 17 '18 10:07 pcdinh