vaphes / pocketbase

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

Add get_file_token method #84

Closed thangngoc89 closed 6 months ago

thangngoc89 commented 6 months ago

This method is used for accessing protected file. (See #72)

Web API reference: https://pocketbase.io/docs/api-files/#generate-protected-file-token Reference JS SDK: https://github.com/pocketbase/js-sdk/blob/98b5fa014a27b88a6f25d39d741b10f821d0a24a/src/services/FileService.ts#L47

coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 8817912396

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pocketbase/client.py 1 3 33.33%
<!-- Total: 1 3 33.33% -->
Totals Coverage Status
Change from base Build 8538250286: -0.2%
Covered Lines: 791
Relevant Lines: 847

💛 - Coveralls
coveralls commented 6 months ago

Pull Request Test Coverage Report for Build 8817912396

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pocketbase/client.py 1 3 33.33%
<!-- Total: 1 3 33.33% -->
Totals Coverage Status
Change from base Build 8538250286: -0.2%
Covered Lines: 791
Relevant Lines: 847

💛 - Coveralls