From e04433c5ccd344f416de1047b031ced625fc8980 Mon Sep 17 00:00:00 2001 From: Jarek Potiuk Date: Sun, 18 Jan 2026 12:42:35 +0100 Subject: [PATCH] Fix Copyright year to 2026 (#633) --- .pre-commit-config.yaml | 2 +- .style.yapf | 2 +- NOTICE | 2 +- .../deployment/terraform/.terraform.lock.hcl | 2 +- examples/deep-researcher/notebook.ipynb | 10 ++++---- examples/deep-researcher/requirements.txt | 2 +- examples/email-assistant/notebook.ipynb | 16 ++++++------- examples/email-assistant/requirements.txt | 2 +- examples/hello-world-counter/notebook.ipynb | 2 +- examples/multi-modal-chatbot/burr_demo.ipynb | 24 +++++++++---------- examples/multi-modal-chatbot/notebook.ipynb | 2 +- examples/multi-modal-chatbot/requirements.txt | 2 +- examples/streaming-fastapi/notebook.ipynb | 6 ++--- setup.cfg | 2 +- telemetry/ui/.eslintignore | 2 +- telemetry/ui/.prettierignore | 2 +- telemetry/ui/public/robots.txt | 2 +- 17 files changed, 41 insertions(+), 41 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7905de2cc..aee19ae48 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/.style.yapf b/.style.yapf index fd8f1fcf6..8a3aba20b 100644 --- a/.style.yapf +++ b/.style.yapf @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/NOTICE b/NOTICE index 0a81403e6..756c8b600 100644 --- a/NOTICE +++ b/NOTICE @@ -1,5 +1,5 @@ Apache Burr (Incubating) -Copyright 2025 The Apache Software Foundation +Copyright 2026 The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/). diff --git a/burr/tracking/server/s3/deployment/terraform/.terraform.lock.hcl b/burr/tracking/server/s3/deployment/terraform/.terraform.lock.hcl index ef8d24daa..4fbf52a1d 100644 --- a/burr/tracking/server/s3/deployment/terraform/.terraform.lock.hcl +++ b/burr/tracking/server/s3/deployment/terraform/.terraform.lock.hcl @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/deep-researcher/notebook.ipynb b/examples/deep-researcher/notebook.ipynb index e494798d8..6673870bf 100644 --- a/examples/deep-researcher/notebook.ipynb +++ b/examples/deep-researcher/notebook.ipynb @@ -6,7 +6,7 @@ "outputs": [], "execution_count": null, "source": [ - "# Copyright 2025 Apache Software Foundation\n", + "# Copyright 2026 Apache Software Foundation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", @@ -180,7 +180,7 @@ "source": [ "## Deep Researcher\n", "\n", - "This is an example of a research assistant agent that uses llm chat and llm-friendly search together to provide a report, complete with internet citations, on a topic of the user's choosing. The graph for the agent includes optional reflection and re-writing that is implemented as a loop. This particular version of a research assistant uses the OpenAI API code for chat and the Tavily API for search. \n", + "This is an example of a research assistant agent that uses llm chat and llm-friendly search together to provide a report, complete with internet citations, on a topic of the user's choosing. The graph for the agent includes optional reflection and re-writing that is implemented as a loop. This particular version of a research assistant uses the OpenAI API code for chat and the Tavily API for search.\n", "\n", "Given a research topic, the research assistant flow consists of several steps. On initialization, the assistant must:\n", "\n", @@ -197,7 +197,7 @@ "5. Finalize summary with formatted sources and return it to the user.\n", "\n", "The graph for the application is visualized below.\n", - " \n" + "\n" ] }, { @@ -364,7 +364,7 @@ "source": [ "my_research_topic = \"getting a job in datascience\"\n", "action, state, result = app.run(halt_after=[\"finalize_summary\"], inputs={\"research_topic\": my_research_topic})\n", - "print(app.state[\"running_summary\"]) " + "print(app.state[\"running_summary\"])" ] }, { @@ -384,7 +384,7 @@ "source": [ "my_research_topic = \"how to get started with canning food at home\"\n", "action, state, result = app.run(halt_after=[\"finalize_summary\"], inputs={\"research_topic\": my_research_topic})\n", - "print(app.state[\"running_summary\"]) " + "print(app.state[\"running_summary\"])" ] }, { diff --git a/examples/deep-researcher/requirements.txt b/examples/deep-researcher/requirements.txt index b498e3899..eb345e089 100644 --- a/examples/deep-researcher/requirements.txt +++ b/examples/deep-researcher/requirements.txt @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/email-assistant/notebook.ipynb b/examples/email-assistant/notebook.ipynb index f63ca4d92..cbe0adfc5 100644 --- a/examples/email-assistant/notebook.ipynb +++ b/examples/email-assistant/notebook.ipynb @@ -6,7 +6,7 @@ "outputs": [], "execution_count": null, "source": [ - "# Copyright 2025 Apache Software Foundation\n", + "# Copyright 2026 Apache Software Foundation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", @@ -57,7 +57,7 @@ "source": [ "# The Application\n", "\n", - "We're modeling this as a multi-shot model. No sane person would trust GPT-x to respond on their behalf, \n", + "We're modeling this as a multi-shot model. No sane person would trust GPT-x to respond on their behalf,\n", "but it can be quite valuable in helping automate the process of responding to an email and deciding how to respond.\n", "There are a few interaction points:\n", "\n", @@ -65,7 +65,7 @@ "2. The LLM has the option to ask a set of clarifying questions that the user can then respond to\n", "3. The user then provides feedback. If feedback is empty, the LLM will return a result\n", "\n", - "This demonstrates how to use Burr to move in/out of more complex flows. \n", + "This demonstrates how to use Burr to move in/out of more complex flows.\n", "\n", "First, we instantiate/visualize the application. To see the code, see [application.py](application.py)." ] @@ -146,9 +146,9 @@ "Regards,\n", "Someone\"\"\"\n", "\n", - "INSTRUCTIONS = \"\"\"I get a bunch of these emails and usually ignore them. I don't want to pay \n", - "(or really engage) but I want to see if they can help promote our tooling, \n", - "particularly the OS libraries Hamilton and Burr, which are tools for AI practitioners. \n", + "INSTRUCTIONS = \"\"\"I get a bunch of these emails and usually ignore them. I don't want to pay\n", + "(or really engage) but I want to see if they can help promote our tooling,\n", + "particularly the OS libraries Hamilton and Burr, which are tools for AI practitioners.\n", "Let's see if we can turn this cold-call around.\n", "\"\"\"" ] @@ -200,7 +200,7 @@ "\n", "def request_feedback(draft):\n", " \"\"\"Requests feedback from the user for a draft\"\"\"\n", - " print( \n", + " print(\n", " f\"here's a draft!: \\n {draft} \\n \\n What feedback do you have?\",\n", " \"If you have no feedback then we'll finish it up.\"\n", " )\n", @@ -212,7 +212,7 @@ "}\n", "while True:\n", " action, result, state = app.run(\n", - " halt_before=[\"clarify_instructions\", \"process_feedback\"], \n", + " halt_before=[\"clarify_instructions\", \"process_feedback\"],\n", " halt_after=[\"final_result\"],\n", " inputs=inputs\n", " )\n", diff --git a/examples/email-assistant/requirements.txt b/examples/email-assistant/requirements.txt index eb4d5e7af..b86c64f55 100644 --- a/examples/email-assistant/requirements.txt +++ b/examples/email-assistant/requirements.txt @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/hello-world-counter/notebook.ipynb b/examples/hello-world-counter/notebook.ipynb index c34b692ac..e92960256 100644 --- a/examples/hello-world-counter/notebook.ipynb +++ b/examples/hello-world-counter/notebook.ipynb @@ -6,7 +6,7 @@ "outputs": [], "execution_count": null, "source": [ - "# Copyright 2025 Apache Software Foundation\n", + "# Copyright 2026 Apache Software Foundation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", diff --git a/examples/multi-modal-chatbot/burr_demo.ipynb b/examples/multi-modal-chatbot/burr_demo.ipynb index b18f4fc49..5af9f21fb 100644 --- a/examples/multi-modal-chatbot/burr_demo.ipynb +++ b/examples/multi-modal-chatbot/burr_demo.ipynb @@ -6,7 +6,7 @@ "outputs": [], "execution_count": null, "source": [ - "# Copyright 2025 Apache Software Foundation\n", + "# Copyright 2026 Apache Software Foundation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", @@ -123,7 +123,7 @@ "import copy\n", "\n", "from IPython.display import Image, display\n", - "from IPython.core.display import HTML \n", + "from IPython.core.display import HTML\n", "import openai\n", "\n", "from burr.core import ApplicationBuilder, State, default, graph, when\n", @@ -190,7 +190,7 @@ "def chat_response(\n", " state: State, prepend_prompt: str, model: str = \"gpt-3.5-turbo\"\n", ") -> State:\n", - " \n", + "\n", " chat_history = copy.deepcopy(state[\"chat_history\"])\n", " chat_history[-1][\"content\"] = f\"{prepend_prompt}: {chat_history[-1]['content']}\"\n", " chat_history_api_format = [\n", @@ -409,7 +409,7 @@ "base_graph = (\n", " graph.GraphBuilder()\n", " .with_actions(\n", - " # these are the \"nodes\" \n", + " # these are the \"nodes\"\n", " prompt=process_prompt,\n", " decide_mode=choose_mode,\n", " generate_image=image_response,\n", @@ -635,8 +635,8 @@ " ApplicationBuilder()\n", " .with_graph(base_graph)\n", " .initialize_from(\n", - " tracker, \n", - " resume_at_next_action=True, \n", + " tracker,\n", + " resume_at_next_action=True,\n", " default_state={\"chat_history\": []},\n", " default_entrypoint=\"prompt\",\n", " )\n", @@ -744,7 +744,7 @@ " if \"quit\" == user_input.lower():\n", " break\n", " last_action, action_result, app_state = app.run(\n", - " halt_after=[\"response\"], \n", + " halt_after=[\"response\"],\n", " inputs={\"prompt\": user_input}\n", " )\n", " last_message = app_state[\"chat_history\"][-1]\n", @@ -796,7 +796,7 @@ " .with_graph(base_graph)\n", " .initialize_from(\n", " tracker,\n", - " resume_at_next_action=True, \n", + " resume_at_next_action=True,\n", " default_state={\"chat_history\": []},\n", " default_entrypoint=\"prompt\",\n", " )\n", @@ -868,7 +868,7 @@ " if \"quit\" == user_input.lower():\n", " break\n", " last_action, action_result, app_state = resumed_app.run(\n", - " halt_after=[\"response\"], \n", + " halt_after=[\"response\"],\n", " inputs={\"prompt\": user_input}\n", " )\n", " last_message = app_state[\"chat_history\"][-1]\n", @@ -917,7 +917,7 @@ " .with_graph(base_graph) # this could be different...\n", " .initialize_from(\n", " tracker,\n", - " resume_at_next_action=True, \n", + " resume_at_next_action=True,\n", " default_state={\"chat_history\": []},\n", " default_entrypoint=\"prompt\",\n", " fork_from_app_id=app_id,\n", @@ -997,7 +997,7 @@ " if \"quit\" == user_input.lower():\n", " break\n", " last_action, action_result, app_state = forked_app.run(\n", - " halt_after=[\"response\"], \n", + " halt_after=[\"response\"],\n", " inputs={\"prompt\": user_input}\n", " )\n", " last_message = app_state[\"chat_history\"][-1]\n", @@ -1021,7 +1021,7 @@ "\n", "[Time Travel blog post & video:](https://blog.dagworks.io/p/travel-back-in-time-with-burr)\n", "\n", - " \n", + "\n", "\n", "\n", "\n", diff --git a/examples/multi-modal-chatbot/notebook.ipynb b/examples/multi-modal-chatbot/notebook.ipynb index b836a2bb1..537538998 100644 --- a/examples/multi-modal-chatbot/notebook.ipynb +++ b/examples/multi-modal-chatbot/notebook.ipynb @@ -6,7 +6,7 @@ "outputs": [], "execution_count": null, "source": [ - "# Copyright 2025 Apache Software Foundation\n", + "# Copyright 2026 Apache Software Foundation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", diff --git a/examples/multi-modal-chatbot/requirements.txt b/examples/multi-modal-chatbot/requirements.txt index 3b8ae6d96..e2a2deb2a 100644 --- a/examples/multi-modal-chatbot/requirements.txt +++ b/examples/multi-modal-chatbot/requirements.txt @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/examples/streaming-fastapi/notebook.ipynb b/examples/streaming-fastapi/notebook.ipynb index 6da8dd8ee..a4a813eea 100644 --- a/examples/streaming-fastapi/notebook.ipynb +++ b/examples/streaming-fastapi/notebook.ipynb @@ -6,7 +6,7 @@ "outputs": [], "execution_count": null, "source": [ - "# Copyright 2025 Apache Software Foundation\n", + "# Copyright 2026 Apache Software Foundation\n", "#\n", "# Licensed under the Apache License, Version 2.0 (the \"License\");\n", "# you may not use this file except in compliance with the License.\n", @@ -48,7 +48,7 @@ "You can view this demo in your app by running Burr:\n", "\n", "```bash\n", - "burr \n", + "burr\n", "```\n", "\n", "This will open a browser on [http://localhost:7241](http://localhost:7241)\n", @@ -288,7 +288,7 @@ "# Calling the application\n", "\n", "With async streaming, we get back an `AsyncStreamingResultContainer`. This allows us to get partial results streaming in, while also allowing us to get the full result.\n", - "In the following case, we just " + "In the following case, we just" ] }, { diff --git a/setup.cfg b/setup.cfg index 57d5725f2..82e5f051e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/telemetry/ui/.eslintignore b/telemetry/ui/.eslintignore index 23d9c03cd..57014ff79 100644 --- a/telemetry/ui/.eslintignore +++ b/telemetry/ui/.eslintignore @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/telemetry/ui/.prettierignore b/telemetry/ui/.prettierignore index 8014b78c3..86da4dbdd 100644 --- a/telemetry/ui/.prettierignore +++ b/telemetry/ui/.prettierignore @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/telemetry/ui/public/robots.txt b/telemetry/ui/public/robots.txt index 941863d91..d6fb27675 100644 --- a/telemetry/ui/public/robots.txt +++ b/telemetry/ui/public/robots.txt @@ -1,4 +1,4 @@ -# Copyright 2025 Apache Software Foundation +# Copyright 2026 Apache Software Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.