abraham-ai / eden

Eden converts your python function into a hosted endpoint with minimal changes to your existing code :mage_man:
GNU General Public License v3.0
47 stars 5 forks source link

Rename BaseBlock as Block #31

Closed Mayukhdeb closed 2 years ago

Mayukhdeb commented 2 years ago

Because it's not really a base class, but a publicly used class. So it just makes intuitive sense to name it that way.

The interface change would just be the fact that

from eden.block import BaseBlock
eden_block = BaseBlock()

becomes:

from eden.block import Block
eden_block = Block()