Results 163 comments of Paul Garner

I have this issue and am using a `DistributedMap` state I attempted this: ```python self.state_machine.add_to_role_policy( iam.PolicyStatement( actions=["states:StartExecution"], resources=[self.state_machine.state_machine_arn], ), ) ``` But I get `FAILED, Circular dependency between resources: [StateMachineB23A416F,...

...but the form given by @rogerchi does work instead ```python policy = iam.Policy( self, "sfn-map-policy", document=iam.PolicyDocument( statements=[ iam.PolicyStatement( resources=[self.state_machine.state_machine_arn], actions=["states:StartExecution"], ), iam.PolicyStatement( resources=[ f"arn:aws:states:*:{Aws.ACCOUNT_ID}:execution:{self.state_machine.state_machine_name}/*" ], actions=["states:RedriveExecution"], ), ], ), )...

I'm looking for the same feature, haven't found any unused dependency checker yet which is pluggable enough to add a special case for Django `INSTALLED_APPS` deferred framework imports without hacking...

Yes I think it's not solvable in most general case without importing Django settings file, I can see why you wouldn't want to do that. In which case maybe my...

same for me, it is specified in `extras: quant` requirements so it seems you should have to `pip install pyllama[quant]` for the download script to work

However, if I start fresh and add just `pip install pyllama[quant]`... That fails to install a package named `gptq`: ``` Command ['/Users/anentropic/Library/Caches/pypoetry/virtualenvs/experiment-llama-TFcqOWFn-py3.10/bin/python', '-m', 'pip', 'install', '--use-pep517', '--disable-pip-version-check', '--prefix', '/Users/anentropic/Library/Caches/pypoetry/virtualenvs/experiment-llama-TFcqOWFn-py3.10', '--no-deps',...

There are some more elaborate install instructions for `gptq` on their homepage: https://pypi.org/project/gptq/

it's a long time since I wrote this and I'm no longer at Depop... The readme suggests using separate Celery apps so you can have different config for the message...

> Getting any attribute from the `settings` object imported in file `event_consumer/handlers.py` generates the error because it is a proxy to a ConfigLoader object, which is basically a dict, so...

are you relying on `setdefault` to set the value of `EVENT_CONSUMER_APP_CONFIG`? if so you might need to move that line before the `from event_consumer` import