Skip to content

Commit 868cb4e

Browse files
committed
fix: cleanup
1 parent e729d2e commit 868cb4e

File tree

3 files changed

+1
-107
lines changed

3 files changed

+1
-107
lines changed

src/codegen/extensions/events/app.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
import functools
2-
import os
3-
from typing import Callable, Optional, Protocol
4-
from anthropic import BaseModel
1+
from typing import Protocol
52
import modal
6-
from codegen.extensions.clients.linear import LinearClient
73
import logging
84

95
from codegen.extensions.events.linear import Linear

src/codegen/extensions/events/linear.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ def __init__(self, app: CodegenApp):
2828
def subscribe_handler_to_webhook(self, web_url: str, event_name: str):
2929
client = LinearClient(access_token=self.access_token)
3030

31-
print(f"Subscribing {web_url} to event {event_name}")
32-
3331
result = client.register_webhook(
3432
team_id=self.linear_team_id,
3533
webhook_url=web_url,
@@ -62,7 +60,6 @@ def event(self, event_name):
6260
:param register_hook: An optional function to call during registration,
6361
e.g., to make an API call to register the webhook.
6462
"""
65-
print("debugging event decorator 1")
6663
def decorator(func):
6764
# Register the handler with the app's registry.
6865
modal_ready_func = func
@@ -76,7 +73,6 @@ def decorator(func):
7673

7774
@functools.wraps(func)
7875
def wrapper(*args, **kwargs):
79-
print("wrapper called")
8076
return func(*args, **kwargs)
8177
return wrapper
8278

src/codegen/extensions/events/test.ipynb

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)