forked from SVIG/python-bootcamp
Cleaned up the exception and Added product_id
This commit is contained in:
@@ -4,8 +4,8 @@ import os
|
||||
import asyncio
|
||||
|
||||
# os.environ["GOOGLE_APPLICATION_CREDENTIALS"] = "C:/Users/Karen/AppData/Roaming/gcloud/application_default_credentials.json"
|
||||
# project_id = "fp-20230425"
|
||||
project_id = "svig-384801"
|
||||
project_id = "fp-20230425"
|
||||
# project_id = "svig-384801"
|
||||
|
||||
'''
|
||||
topic_name = "fp-topic-NFL-zipcodes"
|
||||
@@ -41,7 +41,7 @@ subscription = subscriber.create_subscription(
|
||||
# Publish a message to the topic
|
||||
# Read the data from the csv file
|
||||
# file_path = "C:/Users/Karen/Desktop/zipcodes.csv"
|
||||
file_path = "zipcodes.csv"
|
||||
file_path = "C:/Users/Karen/Desktop/zipcodes.csv"
|
||||
|
||||
with open(file_path, "r") as csv_file:
|
||||
reader = csv.reader(csv_file)
|
||||
|
||||
Reference in New Issue
Block a user