You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Repository.get_file_content takes a Content object as its first arg. This means that a user would have to use Repository.get_git_content first, filter through based on path, and then feed get_file_content that content object to get the file content. This is unnecessary work, as the endpoint only needs a file path. We should change the first arg to take either a string path or a content object.
The text was updated successfully, but these errors were encountered:
Currently,
Repository.get_file_content
takes aContent
object as its first arg. This means that a user would have to useRepository.get_git_content
first, filter through based on path, and then feedget_file_content
that content object to get the file content. This is unnecessary work, as the endpoint only needs a file path. We should change the first arg to take either a string path or a content object.The text was updated successfully, but these errors were encountered: