Skip to content

Commit

Permalink
PR cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
elijahbenizzy committed Aug 4, 2024
1 parent 754c10b commit 3517328
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 16 deletions.
1 change: 1 addition & 0 deletions burr/cli/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
)


# Quick trick to use loguru for everything so it's all the same color
class InterceptHandler(logging.Handler):
def emit(self, record):
# Get corresponding Loguru level if it exists
Expand Down
6 changes: 0 additions & 6 deletions burr/cli/demo_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,12 +130,6 @@ def generate_counter_data(
.with_entrypoint("counter")
.build()
)
# app = counter_application.application(
# count_up_to=count,
# app_id=f"count-to-{count}",
# storage_dir=data_dir,
# partition_key=f"user_{i}",
# )
app.run(halt_after=["result"])


Expand Down
10 changes: 0 additions & 10 deletions burr/tracking/server/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@
from starlette.templating import Jinja2Templates

from burr.tracking.server import schema

# from burr.tracking.server import backend as backend_module
# from burr.tracking.server.s3 import backend as s3_backend
from burr.tracking.server.schema import ApplicationLogs, BackendSpec, IndexingJob

# dynamic importing due to the dashes (which make reading the examples on github easier)
Expand Down Expand Up @@ -122,13 +119,6 @@ def get_app_spec():

logger = logging.getLogger(__name__)

# @repeat_every(
# seconds=update_interval if update_interval is not None else float("inf"),
# wait_first=True,
# logger=logger,
# )


if app_spec.indexing:
update_interval = backend.update_interval_milliseconds() / 1000 if app_spec.indexing else None
sync_index = repeat_every(
Expand Down

0 comments on commit 3517328

Please sign in to comment.