mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2026-01-17 22:29:44 -06:00
* fix: get rid of quote replacing * chore: gen * drive by: event doc wording * fix: dedenting
17 lines
566 B
TypeScript
17 lines
566 B
TypeScript
import { Snippet } from '@/lib/generated/snips/types';
|
|
|
|
const snippet: Snippet = {
|
|
"language": "python",
|
|
"content": "# > RootLogger\n\n\nimport logging\n\nfrom hatchet_sdk import ClientConfig, Hatchet\n\nlogging.basicConfig(level=logging.INFO)\n\nroot_logger = logging.getLogger()\n\nhatchet = Hatchet(\n debug=True,\n config=ClientConfig(\n logger=root_logger,\n ),\n)\n\n",
|
|
"source": "out/python/logger/client.py",
|
|
"blocks": {
|
|
"rootlogger": {
|
|
"start": 2,
|
|
"stop": 18
|
|
}
|
|
},
|
|
"highlights": {}
|
|
};
|
|
|
|
export default snippet;
|