vaphes / pocketbase

PocketBase client SDK for python
https://pypi.org/project/pocketbase/
MIT License
331 stars 38 forks source link

.collections.get_full_list() error #80

Closed mc92mc closed 7 months ago

mc92mc commented 8 months ago

admin.collections.get_full_list()

File "...\pocketbase\models\collection.py", line 37, in load self.schema.append(SchemaField(**field)) ^^^^^^^^^^^^^^^^^^^^ TypeError: SchemaField.init() got an unexpected keyword argument 'presentable'

@dataclass
class SchemaField:
    id: str = ""
    name: str = ""
    type: str = "text"
    system: bool = False
    required: bool = False
    presentable: bool = False
    unique: bool = False
    options: dict = field(default_factory=dict)

add pls presentable: bool = False thx =)

m29h commented 8 months ago

This is an duplicate of #68 that was fixed in pull request #67 Are you running the latest version?

m29h commented 8 months ago

@vaphes can you please make a new release? While the underlying pull request was merged 4months ago, the latest release on pypi that most people use is based on code from 5 months ago.

There are also a couple of other PR's that await merging...

vaphes commented 7 months ago

@vaphes can you please make a new release? While the underlying pull request was merged 4months ago, the latest release on pypi that most people use is based on code from 5 months ago.

There are also a couple of other PR's that await merging...

Hi, sorry for the late response. Yes, will do now.

vaphes commented 7 months ago

done.