From a1f582d9ce377502fabd4dbc9ff765f8c8cec601 Mon Sep 17 00:00:00 2001 From: Pierre Camilleri <22995923+pierrecamilleri@users.noreply.github.com> Date: Thu, 21 Nov 2024 09:20:06 +0100 Subject: [PATCH] remove unused `portals` imports --- docs/portals/github.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/portals/github.md b/docs/portals/github.md index 9b2fe4f87b..25b0f9fb82 100644 --- a/docs/portals/github.md +++ b/docs/portals/github.md @@ -16,7 +16,7 @@ pip install 'frictionless[github]' --pre # for zsh shell You can read data from a github repository as follows: ```python tabs=Python -from frictionless import portals, Package +from frictionless import Package package = Package("https://github.com/fdtester/test-repo-with-datapackage-json") print(package) @@ -50,7 +50,7 @@ If the repo has a descriptor it simply returns the descriptor as shown above. Once you read the package from the repo, you can then easily access the resources and its data, for example: ```python tabs=Python -from frictionless import portals, Package +from frictionless import Package package = Package("https://github.com/fdtester/test-repo-with-datapackage-json") print(package.get_resource('first-resource').read_rows())