Skip to content

Conversation

@brendalf
Copy link
Contributor

@brendalf brendalf commented Apr 9, 2021

Issue: Resolves #2969

Description: As discussed in #2969, the mapping and dataframe demo from streamlit hello are missing the URLError import in the code of example showed when the "show code" is checked. This commit adds from urllib.error import URLError to both examples.


Contribution License Agreement

By submitting this pull request you agree that all contributions to this project are made under the Apache 2.0 license.

@brendalf brendalf requested a review from a team April 9, 2021 21:41
Copy link
Collaborator

@vdonato vdonato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @brendalf! We technically require two reviewers for community PRs. For this one it's obviously just a formality, but I'll ask a second person to take a look at this tomorrow as per standard procedure.

Copy link
Collaborator

@kmcgrady kmcgrady left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome! Thanks for the help!

@kmcgrady kmcgrady merged commit 23e5fbf into streamlit:develop Apr 13, 2021
tconkling added a commit that referenced this pull request Apr 13, 2021
* develop:
  Add import urllib to streamlit hello (#2969) (#3106)
tconkling added a commit that referenced this pull request Apr 13, 2021
* develop: (165 commits)
  Add s4a message to close active modals (#2893)
  Add fail_on_warning to build options
  Docutils 0.16
  Put back Sphinx to 3.0.3
  Add import urllib to streamlit hello (#2969) (#3106)
  Update Num_Input to correct for Type Errors (#3074)
  Upgrade bokehjs to 2.2.2, and run `npx browserslist@latest --update-db` (#3090)
  remove extra star in docs (#3086)
  Remove flake8 linting tool (#3085)
  Makefile cleanup (#3083)
  Merge anchor headers feature branch into develop (#2983)
  Fix image galleries (#3044)
  Is this a red herring also?
  See if pylint was red herring
  Update sphinx
  Specify pylint version
  Fix pylint errors
  Added "allow-downloads" to the sandbox attributes (#3053)
  Small fix for `make pylint` command (#3062)
  Set genericColors properly and make theme defs more consistent (#3051)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing "import urllib" in "streamlit hello" mapping/dataframe demo code

3 participants