crcdng
commited on
Commit
·
5edbd91
1
Parent(s):
29df835
try private
Browse files
app.py
CHANGED
@@ -5,6 +5,15 @@ import requests
|
|
5 |
|
6 |
NASA_API_KEY = os.getenv("NASA_API_KEY")
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
def fetch_nasa():
|
9 |
"""
|
10 |
Fetches data from the NASA Near Earth Object Web Service.
|
|
|
5 |
|
6 |
NASA_API_KEY = os.getenv("NASA_API_KEY")
|
7 |
|
8 |
+
def private_fn():
|
9 |
+
show_api=False
|
10 |
+
"""
|
11 |
+
This function is private and not intended for public use.
|
12 |
+
It is used to demonstrate the use of a private function in the code.
|
13 |
+
"""
|
14 |
+
return "This is a private function."
|
15 |
+
|
16 |
+
|
17 |
def fetch_nasa():
|
18 |
"""
|
19 |
Fetches data from the NASA Near Earth Object Web Service.
|