Goals: Add links that are reasonable and good explanations of how stuff works. No hype and no vendor content if possible. Practical first-hand accounts of models in prod eagerly sought.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#experimental response to https://github.com/PowerShell/PowerShell/issues/20750 | |
function TabExpansion2 { | |
<# Options include: | |
RelativeFilePaths - [bool] | |
Always resolve file paths using Resolve-Path -Relative. | |
The default is to use some heuristics to guess if relative or absolute is better. | |
To customize your own custom options, pass a hashtable to CompleteInput, e.g. | |
return [System.Management.Automation.CommandCompletion]::CompleteInput($inputScript, $cursorColumn, | |
@{ RelativeFilePaths=$false } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from celery import Task | |
from celery.task import task | |
from my_app.models import FailedTask | |
from django.db import models | |
@task(base=LogErrorsTask) | |
def some task(): | |
return result | |
class LogErrorsTask(Task): |