From 12282b9e599b131f41772a4617006d07735e163a Mon Sep 17 00:00:00 2001 From: Tristan Menzel Date: Fri, 5 Apr 2024 11:51:43 -0700 Subject: [PATCH] docs: Add note about method behaviour for accounts which have not opted in --- stubs/algopy-stubs/_reference.pyi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/stubs/algopy-stubs/_reference.pyi b/stubs/algopy-stubs/_reference.pyi index 5ec4f52b65..0b0a245a9f 100644 --- a/stubs/algopy-stubs/_reference.pyi +++ b/stubs/algopy-stubs/_reference.pyi @@ -239,14 +239,16 @@ class Asset: ``` """ def balance(self, account: Account, /) -> UInt64: - """Amount of the asset unit held by this account + """Amount of the asset unit held by this account. Fails if the account has not + opted in to the asset. ```{note} Asset and supplied Account must be an available resource ``` """ def frozen(self, account: Account, /) -> bool: - """Is the asset frozen or not + """Is the asset frozen or not. Fails if the account has not + opted in to the asset. ```{note} Asset and supplied Account must be an available resource