Skip to content

Commit

Permalink
remove unused portals imports
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrecamilleri committed Nov 21, 2024
1 parent 2c3f971 commit a1f582d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/portals/github.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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())
Expand Down

0 comments on commit a1f582d

Please sign in to comment.