Skip to content
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
3c6d67a
docs: enhance FeeAssessmentMethod enum docstring
cheese-cakee Jan 7, 2026
72b1af3
docs: enhance TokenType enum docstring
cheese-cakee Jan 7, 2026
2667e60
fix: replace EN DASH with HYPHEN-MINUS in docstring
cheese-cakee Jan 7, 2026
c2365e7
fix: replace EN DASH with HYPHEN-MINUS in docstring
cheese-cakee Jan 7, 2026
1177c49
docs: convert FeeAssessmentMethod docstring to Google-style with exam…
cheese-cakee Jan 8, 2026
5afc0bd
docs: convert TokenType docstring to Google-style with examples
cheese-cakee Jan 8, 2026
e4170b0
Trigger GitHub status update
cheese-cakee Jan 8, 2026
f12c689
Update to resolve GitHub status display issue
cheese-cakee Jan 8, 2026
9ef922c
Merge branch 'main' into fee-assessment-method-docstring-2
cheese-cakee Jan 8, 2026
92c9aa0
docs: update CHANGELOG to include FeeAssessmentMethod and TokenType d…
cheese-cakee Jan 8, 2026
49793e5
Trigger fresh status check after DCO fix
cheese-cakee Jan 8, 2026
61bbbdb
docs: enhance TokenType enum docstring
cheese-cakee Jan 7, 2026
5380884
fix: replace EN DASH with HYPHEN-MINUS in docstring
cheese-cakee Jan 7, 2026
4f286a4
docs: convert TokenType docstring to Google-style with examples
cheese-cakee Jan 8, 2026
b8f2842
Trigger GitHub status update
cheese-cakee Jan 8, 2026
d676b4b
Merge remote-tracking branch 'origin/token-type-docstring' into token…
cheese-cakee Jan 8, 2026
778ca9a
Merge branch 'token-type-docstring' into fee-assessment-method-docstr…
cheese-cakee Jan 8, 2026
dc7d909
Fix docstrings according to Google-style format
cheese-cakee Jan 8, 2026
325c861
Trigger GitHub UI refresh for docstring changes
cheese-cakee Jan 8, 2026
421a4dc
Merge Google-style docstring fixes
cheese-cakee Jan 8, 2026
1943d55
Merge updated changes
cheese-cakee Jan 8, 2026
da93ce6
Ensure GitHub UI updates with latest docstring fixes
cheese-cakee Jan 8, 2026
2d14aa3
Merge final changes
cheese-cakee Jan 8, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Changelog
# Changelog

All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org).
Expand All @@ -7,6 +7,7 @@ This changelog is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.
## [Unreleased]

### Added
- Added comprehensive docstring to `TokenType` enum explaining fungible vs non-fungible tokens with use cases and examples. (#1392)
- Added comprehensive training documentation for the `Query` class, covering execution flow, payments, retries, and building child queries. (#1238)
- Beginner issue documentation and updated GFI and GFIC templates and documentation
- Enable auto assignment to good first issues (#1312), archived good first issue support team notification. Changed templates with new assign instruction.
Expand Down
16 changes: 15 additions & 1 deletion src/hiero_sdk_python/tokens/token_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,20 @@
from enum import Enum

class TokenType(Enum):
"""Enum for Hedera token types: FUNGIBLE_COMMON or NON_FUNGIBLE_UNIQUE."""
"""
Token type for Hedera tokens:
• FUNGIBLE_COMMON - Interchangeable tokens where each unit is equal.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

indentation for both must match please

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

these are grouped under attributes please

Examples: cryptocurrencies, utility tokens, stablecoins.
Use for tokens where units can be divided and mixed freely.
• NON_FUNGIBLE_UNIQUE - Unique tokens where each token is distinct and
cannot be replaced. Examples: NFTs, digital collectibles,
unique assets. Each token has its own metadata and
identity.
This enum determines whether a token represents a divisible, interchangeable
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

similarly,the explanation goes near the top

asset or a collection of unique, non-interchangeable assets.
"""
FUNGIBLE_COMMON = 0
NON_FUNGIBLE_UNIQUE = 1