fetchableai / fetchable-python Goto Github PK
View Code? Open in Web Editor NEWPython Client Side SDK for Fetchable
Home Page: https://fetchable.ai
License: Apache License 2.0
Python Client Side SDK for Fetchable
Home Page: https://fetchable.ai
License: Apache License 2.0
Is your feature request related to a problem? Please describe.
A problem hasn't occurred yet, but could easily.
Describe the solution you'd like
When reading the authentication file, the library checks it is a valid json object, contains the correct keys and their value is of the correct type and length.
Describe alternatives you've considered
N/A
Additional context
N/A
If all documentation on the endpoints for every version of the API ends up in the main README it will become too large.
A docs
folder with a different .rst file for every version of the backend. e.g. v0.1.rst, v0.2.rst, etc. These should be linked from the main README file.
Move all documentation outside of Github such as readthedocs.org, etc.
Nope :)
Is your feature request related to a problem? Please describe.
Takes additional effort on behalf of the client to sanitize the inputs, i.e. to transform multiple, and potentially capitalised words, into snake case. E.g.
client.fetch_entity_attribute("Empire State building", "Height")
should be entered as:
client.fetch_entity_attribute("empire_state_building", "height")
Describe the solution you'd like
Create a private helper function in the client FetchableClient class which transforms any input into the correct format before making a request to the backend.
Describe alternatives you've considered
Do not create helper function and do the transformation in each function, i.e. within the 'fetch_entity_attribute' function - or any other functions.
Additional context
N/A
It's difficult to know the data types when looking at the code
Adding function annotations to function signatures.
Add data types in comments and in documentation. This is more pythonic.
N/a
Describe the bug
library returns {status_code: 1003, reason: unknown error occurred} when fetching something and using python 3.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The library should have returned a valid response.
System
Additional context
N/A
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.