Skip to content

Commit

Permalink
PEP8
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienPeloton committed Dec 3, 2024
1 parent fd34cbf commit 8b07634
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion apps/routes/objects/profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Call extract_object_data"""

from apps.routes.objects.utils import extract_object_data

payload = {
"objectId": "ZTF21abfmbix",
"withupperlim": True,
#"withcutouts": True,
# "withcutouts": True,
}

extract_object_data(payload)
2 changes: 1 addition & 1 deletion apps/routes/template/profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
"""Call extract_object_data"""

from apps.routes.template.utils import my_function

payload = {
"arg1": "toto",
}

my_function(payload)

1 change: 1 addition & 0 deletions apps/routes/template/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

from line_profiler import profile


@profile
def my_function(payload):
return pd.DataFrame({payload["arg1"]: [1, 2, 3]})

0 comments on commit 8b07634

Please sign in to comment.