Skip to content

Commit

Permalink
setup_environment: import getpass before use, correct syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Jul 4, 2023
1 parent 231df67 commit dd5fb49
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions setup_environment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"colab": {
"name": "setup_notebook",
"provenance": [],
"authorship_tag": "ABX9TyPNHL0X/U/czPOZW0el9YnT"
"authorship_tag": "ABX9TyPajfocnRv6KzHqBnH2Lywx"
},
"kernelspec": {
"name": "python3",
Expand Down Expand Up @@ -56,6 +56,8 @@
{
"cell_type": "code",
"source": [
"import getpass\n",
"\n",
"log_url = ''\n",
"\n",
"if log_url != '':\n",
Expand Down Expand Up @@ -83,8 +85,6 @@
"id": "27yRx-oaXPtd"
},
"source": [
"import getpass\n",
"\n",
"user = input('Username:')\n",
"password = getpass.getpass('Password:')"
],
Expand All @@ -110,7 +110,7 @@
"%shell pip install --upgrade 'ocdskingfishercolab<0.4' psycopg2-binary > pip.log\n",
"\n",
"# Install Scrapy Log Analyzer\n",
"pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"!pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n",
"\n",
"# Import libraries and functions\n",
"import pandas as pd\n",
Expand Down Expand Up @@ -172,6 +172,17 @@
],
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [
"!"
],
"metadata": {
"id": "sQL1XchVxUlp"
},
"execution_count": null,
"outputs": []
}
]
}

0 comments on commit dd5fb49

Please sign in to comment.